K&R ...
This commit is contained in:
parent
29fbf15bb1
commit
58fe3ad44c
@ -30,7 +30,8 @@ void Mtx_LookAt(C3D_Mtx* out, C3D_FVec cameraPosition, C3D_FVec cameraTarget, C3
|
|||||||
out->r[2].z = zaxis.z;
|
out->r[2].z = zaxis.z;
|
||||||
out->r[2].w = 0.0f;
|
out->r[2].w = 0.0f;
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
//In RH matrix, the Z is in Row 2 of 4, and the Y is in Row 3 of 4.
|
//In RH matrix, the Z is in Row 2 of 4, and the Y is in Row 3 of 4.
|
||||||
out->r[1].x = xaxis.z;
|
out->r[1].x = xaxis.z;
|
||||||
out->r[1].y = yaxis.z;
|
out->r[1].y = yaxis.z;
|
||||||
|
Loading…
Reference in New Issue
Block a user