Correctly swap rayNear and rayFar distance (#922)

This commit is contained in:
Christopher Whitley
2024-07-11 21:48:40 -04:00
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;
}