Skip to content

Commit 5ca2923

Browse files
author
Daniel Cliche
committed
Fix matrix rotation Y
1 parent 49ae9f3 commit 5ca2923

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/graphite.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ mat4x4 matrix_make_rotation_y(float theta) {
322322
mat_rot_y.m[1][1] = FX(1.0f);
323323
mat_rot_y.m[2][0] = FX(sinf(theta));
324324
mat_rot_y.m[2][2] = FX(cosf(theta));
325+
mat_rot_y.m[3][3] = FX(1.0f);
325326

326327
return mat_rot_y;
327328
}

0 commit comments

Comments
 (0)