From 538cb1cd010a3323ad61239a12a4134ef4dceca6 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 24 Feb 2020 10:28:41 +0800 Subject: *camera --- src/math/mat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/mat.c') 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; -- cgit v1.1-26-g67d0