Fixes/cleanups from b026ee7ef8, And misc fixes/crashes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user