fix(gx): set remaining values in ortho proj matrix

This commit is contained in:
fallenoak 2023-04-08 23:03:09 -05:00
parent 6b4c5e9179
commit 43f6d1f3cd
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -141,9 +141,9 @@ void GxuXformCreateOrtho(float minX, float maxX, float minY, float maxY, float m
dst.c2 = 2.0 / v12;
dst.c3 = 0.0f;
dst.d0 = 0.0f;
dst.d1 = 0.0f;
dst.d2 = 0.0f;
dst.d0 = -((minX + maxX) / v10);
dst.d1 = -((minY + maxY) / v11);
dst.d2 = -((minZ + maxZ) / v12);
dst.d3 = 1.0f;
}