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)
|
void Mtx_Diagonal(C3D_Mtx* out, float x, float y, float z, float w)
|
||||||
{
|
{
|
||||||
Mtx_Identity(out);
|
Mtx_Zeros(out);
|
||||||
FVec4_Scale(out->r[0], x);
|
out->r[0].x = x;
|
||||||
FVec4_Scale(out->r[1], y);
|
out->r[1].y = y;
|
||||||
FVec4_Scale(out->r[2], z);
|
out->r[2].z = z;
|
||||||
FVec4_Scale(out->r[3], w);
|
out->r[3].w = w;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user