diff options
Diffstat (limited to 'src/math/mat.c')
-rw-r--r-- | src/math/mat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/mat.c b/src/math/mat.c index 592dd5e..c254c02 100644 --- a/src/math/mat.c +++ b/src/math/mat.c @@ -748,7 +748,7 @@ void mat4_toquat(Mat4* in, Quat* out) { quat_normalize(out, out); } -void mat3_applytovec3(Mat3* m, Vec3* v, Vec3* out) { +void mat3_multvec3(Mat3* m, Vec3* v, Vec3* out) { ssr_assert(m && v && out); out->x = m->e00 * v->x + m->e01 * v->y + m->e02 * v->z; out->y = m->e10 * v->x + m->e11 * v->y + m->e12 * v->z; |