diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-04-21 01:57:02 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-04-21 01:57:02 -0700 |
commit | 4ae358c65c97d6b4a0ea6d23804067a2a1be71a1 (patch) | |
tree | ad27c77a83cdaab3f8ec62063902cea1892422b8 | |
parent | 0af3ae6c844d265d9cbbcf0e00ff82fc54d02673 (diff) |
m4f: fix typo in unused m4f_mult_v4f()
-rw-r--r-- | src/game.c | 1 | ||||
-rw-r--r-- | src/m4f.h | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -188,7 +188,6 @@ static adult_t * adult_new(game_t *game, stage_t *parent) } - static baby_t * baby_new(game_t *game, stage_t *parent) { baby_t *baby; @@ -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); |