Fix SC_SACD_Translate_Mat4(...)

Translation Mat4 was missing a "1" in the first element.
This commit is contained in:
Stephen Seo 2024-05-02 13:12:28 +09:00
parent 428c5d054a
commit 22f7663f38

View file

@ -488,7 +488,7 @@ SC_SACD_Mat4 SC_SACD_Rotation_Mat4_ZAxis(float z_radians) {
}
SC_SACD_Mat4 SC_SACD_Translate_Mat4(float x, float y, float z) {
return SC_SACD_Mat4{0.0F, 0.0F, 0.0F, x, 0.0F, 1.0F, 0.0F, y,
return SC_SACD_Mat4{1.0F, 0.0F, 0.0F, x, 0.0F, 1.0F, 0.0F, y,
0.0F, 0.0F, 1.0F, z, 0.0F, 0.0F, 0.0F, 1.0F};
}