mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-19 19:40:00 +03:00
fix(gx): set remaining values in ortho proj matrix
This commit is contained in:
parent
6b4c5e9179
commit
43f6d1f3cd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user