Class AstarMath
Public
Utility functions for working with numbers and strings.
Public Static Methods
DeltaAngle
(angle1, angle2)
Calculates the shortest difference between two given angles given in radians.
MapTo
(startMin, startMax, targetMin, targetMax, value)
Maps a value between startMin and startMax to be between targetMin and targetMax.
Converts a non-negative float to a long, saturating at long.MaxValue if the value is too large.
Private/Protected Members
GlobalRandom
Private
Static
GlobalRandomLock
Private
Static