mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
Correctly swap rayNear and rayFar distance (#922)
This commit is contained in:
committed by
GitHub
parent
f56dc7b620
commit
f1fbf9c4b8
@@ -23,7 +23,7 @@ namespace MonoGame.Extended
|
||||
if (rayNearDistance > rayFarDistance)
|
||||
{
|
||||
// Swap near and far distance
|
||||
var temp = rayFarDistance;
|
||||
var temp = rayNearDistance;
|
||||
rayNearDistance = rayFarDistance;
|
||||
rayFarDistance = temp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user