mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(gx): set remaining values in ortho proj matrix
This commit is contained in:
parent
6b4c5e9179
commit
43f6d1f3cd
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue