From bcb7c0a426e66dc57007ae9a0e879358c7860fbb Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 15 Dec 2019 16:01:48 +0800 Subject: *misc --- src/math/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math/math.h') 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是正交矩阵*/ -- cgit v1.1-26-g67d0