summaryrefslogtreecommitdiff
path: root/src/math/mat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/mat.c')
-rw-r--r--src/math/mat.c4
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;