Fix SC_SACD_Translate_Mat4(...)
Translation Mat4 was missing a "1" in the first element.
This commit is contained in:
parent
428c5d054a
commit
22f7663f38
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue