Export (0) Print
Expand All

MathHelper Methods

The MathHelper type exposes the following members.

  Name Description
Public method Static member Barycentric Returns the Cartesian coordinate for one axis of a point that is defined by a given triangle and two normalized barycentric (areal) coordinates.
Public method Static member CatmullRom Performs a Catmull-Rom interpolation using the specified positions.
Public method Static member Clamp Restricts a value to be within a specified range.
Public method Static member Distance Calculates the absolute value of the difference of two values.
Public method Static member Hermite Performs a Hermite spline interpolation.
Public method Static member Lerp Linearly interpolates between two values.
Public method Static member Max Returns the greater of two values.
Public method Static member Min Returns the lesser of two values.
Public method Static member SmoothStep Interpolates between two values using a cubic equation.
Public method Static member ToDegrees Converts radians to degrees.
Public method Static member ToRadians Converts degrees to radians.
Public method Static member WrapAngle Reduces a given angle to a value between pi and -pi.
Top

Community Additions

ADD
Show:
© 2015 Microsoft