diff --git a/include/Spectre/Math/Math.h b/include/Spectre/Math/Math.h index d8aebe4..34f725c 100644 --- a/include/Spectre/Math/Math.h +++ b/include/Spectre/Math/Math.h @@ -41,13 +41,6 @@ namespace sp { namespace math // Create a 2D scale matrix. Matrix4f scale(float x, float y); - // Get translation part of a matrix. - Vector3f getTranslate(const Matrix4f matrix); - - Vector3f getUpVector(const Matrix4f matrix); - - Vector3f getForwardVector(const Matrix4f matrix); - } } // namespace sp #endif /* SPECTRE_MATH_MATH_H */ diff --git a/source/Math/Math.cpp b/source/Math/Math.cpp index 120b7bc..2be138a 100644 --- a/source/Math/Math.cpp +++ b/source/Math/Math.cpp @@ -79,20 +79,4 @@ namespace sp { namespace math 0.0f, 0.0f, 0.0f, 1.0f); } - Vector3f getTranslate(const Matrix4f matrix) { - - return Vector3f(matrix.e[12], matrix.e[13], matrix.e[14]); - } - - - Vector3f getUpVector(const Matrix4f matrix) { - - return Vector3f(matrix.e[4], matrix.e[5], matrix.e[6]); - } - - Vector3f getForwardVector(const Matrix4f matrix) { - - return Vector3f(matrix.e[8], matrix.e[9], matrix.e[10]); - } - } } // namespace sp::math