mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +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…
Reference in New Issue
Block a user