FUUUUUUUU
This commit is contained in:
parent
1a76a7adf1
commit
e9f7b4c64e
@ -2,9 +2,9 @@
|
||||
|
||||
void Mtx_Diagonal(C3D_Mtx* out, float x, float y, float z, float w)
|
||||
{
|
||||
Mtx_Identity(out);
|
||||
FVec4_Scale(out->r[0], x);
|
||||
FVec4_Scale(out->r[1], y);
|
||||
FVec4_Scale(out->r[2], z);
|
||||
FVec4_Scale(out->r[3], w);
|
||||
Mtx_Zeros(out);
|
||||
out->r[0].x = x;
|
||||
out->r[1].y = y;
|
||||
out->r[2].z = z;
|
||||
out->r[3].w = w;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user