mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Update matrix_4x4_translate
This commit is contained in:
parent
5398fa5f39
commit
c8e8070c02
@ -192,7 +192,7 @@ void matrix_4x4_scale(math_matrix_4x4 *out, float x, float y,
|
||||
void matrix_4x4_translate(math_matrix_4x4 *out, float x,
|
||||
float y, float z)
|
||||
{
|
||||
MAT_ELEM_4X4(*out, 0, 0) = 0.0f;
|
||||
MAT_ELEM_4X4(*out, 0, 0) = 1.0f;
|
||||
MAT_ELEM_4X4(*out, 0, 1) = 0.0f;
|
||||
MAT_ELEM_4X4(*out, 0, 2) = 0.0f;
|
||||
MAT_ELEM_4X4(*out, 0, 3) = x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user