diff options
Diffstat (limited to 'src/math/math.h')
-rw-r--r-- | src/math/math.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/math.h b/src/math/math.h index 41b4607..8793336 100644 --- a/src/math/math.h +++ b/src/math/math.h @@ -235,8 +235,8 @@ void mat4_invertpos(Mat4* pos, Mat4* out); /* 对平移矩阵求逆 */ void mat4_decomposetrs(Mat4* src, Vec3* pos, Quat* quat, Vec3* scale); /*分解trs矩阵*/ -void mat4_applytovec4(Mat4* m, Vec4* v, Vec4* out); -void mat4_applytovec3(Mat4* m, Vec3* v, Vec3* out); +void mat4_mulvec4(Mat4* m, Vec4* v, Vec4* out); +void mat4_mulvec3(Mat4* m, Vec3* v, Vec3* out); bool mat4_toeuler(Mat4* in, Euler* out); /* 计算YXZ旋转矩阵的欧拉角 */ void mat4_toquat(Mat4* in, Quat* out); /*in是正交矩阵*/ |