summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.c1
-rw-r--r--src/m4f.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 31e8a48..0d51462 100644
--- a/src/game.c
+++ b/src/game.c
@@ -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;
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