From 9276872a2faed03a6e1292f47438b8dd5b1dfc3b Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sat, 24 Aug 2024 23:51:48 +0800 Subject: [PATCH] removed MatrixMult functions. --- inc/hgl/math/Matrix.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/inc/hgl/math/Matrix.h b/inc/hgl/math/Matrix.h index 0509d18..19454d9 100644 --- a/inc/hgl/math/Matrix.h +++ b/inc/hgl/math/Matrix.h @@ -220,21 +220,6 @@ namespace hgl return normalize(m*v); } - inline Matrix3f MatrixMult(const Matrix3f &parent,const Matrix3f &child) - { - return parent*child; - } - - inline Matrix3f MatrixMult(const Matrix4f &parent,const Matrix3f &child) - { - return Matrix3f(parent*Matrix4f(child)); - } - - inline Matrix4f MatrixMult(const Matrix4f &parent,const Matrix4f &child) - { - return parent*child; - } - const Matrix4f GetRotateMatrix(const Vector3f &world_position,const Vector3f &old_direction,const Vector3f &new_direction); const Quatf GetRotateQuat(const Vector3f &world_position,const Vector3f &old_direction,const Vector3f &new_direction);