Fixes/cleanups from b026ee7ef8, And misc fixes/crashes.

This commit is contained in:
hondacrx
2021-11-16 19:45:02 -05:00
parent 2b2b0fe076
commit 705a2fe3a1
8 changed files with 49 additions and 28 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ namespace Framework.GameMath
}
else
{
float t = -(-plane.D + Vector3.Dot(Origin, plane.Normal)) / rate;
float t = -(plane.D + Vector3.Dot(Origin, plane.Normal)) / rate;
return Origin + Direction * t;
}
}