wManager.Wow.Helpers Namespace
WRobot

Math Members

The Math type exposes the following members.

Methods


  Name Description
Public method Static member Clamp
Returns value clamped to the inclusive range of min and max.
Public method Static member DegreeToRadian
Degree to radian
Public method Static member DistanceListVectors3
Total distance of path
Public method Static member GetAngle(Single, Single)
Return Angle to pos x =0 z = 0.
Public method Static member GetAngle(Vector3, Vector3)
Get angle from A to B
Public method Static member GetPosition2DOfAngleAndDistance
Get the position 2D by angle and distance.
Public method Static member GetPosition2DOfAngleAndPitchAndDistance
Get the position 3D by angle, pitch and distance.
Public method Static member GetPostion2DOfLineByDistance
Get position 2D on the line (a-b) by distance
Public method Static member GetPostion3DOfLineByDistance
Get position 3D on the line (a-b) by distance
Public method Static member GetPostionOffsetBy3DDistance
Get position 3D on the line (a-b) by distance
Public method Static member GetRadian
Get radian rotation from A to B.
Public method Static member GetRadianDiff
Get radian rotation difference.
Public method Static member GetRandomPointInCircle(Single, Single, Single)
Gets the random point in circle.
Public method Static member GetRandomPointInCircle(Vector3, Single)
Gets the random point in circle.
Public method Static member NearestVector3OfListVectors3
Find the nearest position in the list of positions (return a id).
Public method Static member NormalizeRadian
Normalizes the radian.
Public method Static member RadianToDegree
Radian to degree
Public method Static member SameListVectors3
Is same list of position?.
Public method Static member TargetFacingToRadian
Facing position B from A radian.