summaryrefslogtreecommitdiff
path: root/src/m4f.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-04-21 01:57:02 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-04-21 01:57:02 -0700
commit4ae358c65c97d6b4a0ea6d23804067a2a1be71a1 (patch)
treead27c77a83cdaab3f8ec62063902cea1892422b8 /src/m4f.h
parent0af3ae6c844d265d9cbbcf0e00ff82fc54d02673 (diff)
m4f: fix typo in unused m4f_mult_v4f()
Diffstat (limited to 'src/m4f.h')
-rw-r--r--src/m4f.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m4f.h b/src/m4f.h
index 2c5a0f1..7c121f3 100644
--- a/src/m4f.h
+++ b/src/m4f.h
@@ -84,7 +84,7 @@ static inline v4f_t m4f_mult_v4f(const m4f_t *a, const v4f_t *b)
{
v4f_t v;
- v.x = (a->m[0][0] * b->x) + (a->m[1][1] * b->y) + (a->m[2][0] * b->z) + (a->m[3][0] * b->w);
+ v.x = (a->m[0][0] * b->x) + (a->m[1][0] * b->y) + (a->m[2][0] * b->z) + (a->m[3][0] * b->w);
v.y = (a->m[0][1] * b->x) + (a->m[1][1] * b->y) + (a->m[2][1] * b->z) + (a->m[3][1] * b->w);
v.z = (a->m[0][2] * b->x) + (a->m[1][2] * b->y) + (a->m[2][2] * b->z) + (a->m[3][2] * b->w);
v.w = (a->m[0][3] * b->x) + (a->m[1][3] * b->y) + (a->m[2][3] * b->z) + (a->m[3][3] * b->w);
© All Rights Reserved