summaryrefslogtreecommitdiff
path: root/src/math/math.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-12-15 16:01:48 +0800
committerchai <chaifix@163.com>2019-12-15 16:01:48 +0800
commitbcb7c0a426e66dc57007ae9a0e879358c7860fbb (patch)
tree7ae13fbfbe7c54a3274adba193b1c6edc7fb9c65 /src/math/math.h
parenta0b8ef3d482c965901f094879a79dd9c5fd8245c (diff)
*misc
Diffstat (limited to 'src/math/math.h')
-rw-r--r--src/math/math.h4
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是正交矩阵*/