Skip to content

Commit ff295f5

Browse files
authored
Actual proper fix.
1 parent 12563dc commit ff295f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mips/psyqo/examples/cube/cube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void CubeScene::frame() {
151151
psyqo::SoftMath::multiplyMatrix33(transform, rot, &transform);
152152

153153
// Generate a Z-axis rotation matrix (Empty, but it's here for your use)
154-
psyqo::SoftMath::generateRotationMatrix33(rot, 0, psyqo::SoftMath::Axis::Z, cube.m_trig);
154+
psyqo::SoftMath::generateRotationMatrix33(&rot, 0, psyqo::SoftMath::Axis::Z, cube.m_trig);
155155

156156
// Apply the combined rotation and write it to the pseudo register for the cube's rotation
157157
psyqo::SoftMath::multiplyMatrix33(transform, rot, &transform);

0 commit comments

Comments
 (0)