diff options
author | chai <chaifix@163.com> | 2019-12-15 16:01:48 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-15 16:01:48 +0800 |
commit | bcb7c0a426e66dc57007ae9a0e879358c7860fbb (patch) | |
tree | 7ae13fbfbe7c54a3274adba193b1c6edc7fb9c65 /src/math/mat.c | |
parent | a0b8ef3d482c965901f094879a79dd9c5fd8245c (diff) |
*misc
Diffstat (limited to 'src/math/mat.c')
-rw-r--r-- | src/math/mat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/mat.c b/src/math/mat.c index f889697..8b32ba2 100644 --- a/src/math/mat.c +++ b/src/math/mat.c @@ -322,7 +322,7 @@ bool mat4_setlookrotation(Vec3* view, Vec3* up, Mat4* out) { return 1; } -void mat4_applytovec4(Mat4* mat, Vec4* v, Vec4* out) { +void mat4_mulvec4(Mat4* mat, Vec4* v, Vec4* out) { ssr_assert(mat && v && out); if (v == out) { sharedVec4 = *v; @@ -337,7 +337,7 @@ void mat4_applytovec4(Mat4* mat, Vec4* v, Vec4* out) { /* ** mat3 apply to vec3 */ -void mat4_applytovec3(Mat4* mat, Vec3* v, Vec3* out) { +void mat4_mulvec3(Mat4* mat, Vec3* v, Vec3* out) { ssr_assert(mat && v && out); if (v == out) { sharedVec3 = *v; |