aboutsummaryrefslogtreecommitdiff
path: root/linmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'linmath.h')
-rw-r--r--linmath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linmath.h b/linmath.h
index f87849e..2a92211 100644
--- a/linmath.h
+++ b/linmath.h
@@ -250,9 +250,9 @@ LINMATH_H_FUNC void mat4x4_rotate_Y(mat4x4 Q, mat4x4 M, float angle)
float s = sinf(angle);
float c = cosf(angle);
mat4x4 R = {
- { c, 0.f, s, 0.f},
+ { c, 0.f, -s, 0.f},
{ 0.f, 1.f, 0.f, 0.f},
- { -s, 0.f, c, 0.f},
+ { s, 0.f, c, 0.f},
{ 0.f, 0.f, 0.f, 1.f}
};
mat4x4_mul(Q, M, R);