|
|
@ -1530,7 +1530,7 @@ Ray GetScreenToWorldRayEx(Vector2 position, Camera camera, int width, int height |
|
|
|
double right = top*aspect; |
|
|
|
|
|
|
|
// Calculate projection matrix from orthographic |
|
|
|
matProj = MatrixOrtho(-right, right, -top, top, mf">0.01, 1000.0); |
|
|
|
matProj = MatrixOrtho(-right, right, -top, top, n">rlGetCullDistanceNear(), rlGetCullDistanceFar()); |
|
|
|
} |
|
|
|
|
|
|
|
// Unproject far/near points |
|
|
|