C# Class Linearstar.MikuMikuMoving.Framework.MathHelper

Show file Open project: mfakane/MikuMikuMoving-Plugins

Public Methods

Method Description
Lerp ( float value1, float value2, float amount ) : float
Lerp ( int value1, int value2, float amount ) : int
ToDegrees ( System.Vector3 radians ) : System.Vector3
ToDegrees ( float radians ) : float
ToEulerAngle ( System.Matrix rotationMatrix ) : System.Vector3
ToEulerAngle ( Quaternion quaternion ) : System.Vector3
ToRadians ( System.Vector3 degrees ) : System.Vector3
ToRadians ( float degrees ) : float

Method Details

Lerp() public static method

public static Lerp ( float value1, float value2, float amount ) : float
value1 float
value2 float
amount float
return float

Lerp() public static method

public static Lerp ( int value1, int value2, float amount ) : int
value1 int
value2 int
amount float
return int

ToDegrees() public static method

public static ToDegrees ( System.Vector3 radians ) : System.Vector3
radians System.Vector3
return System.Vector3

ToDegrees() public static method

public static ToDegrees ( float radians ) : float
radians float
return float

ToEulerAngle() public static method

public static ToEulerAngle ( System.Matrix rotationMatrix ) : System.Vector3
rotationMatrix System.Matrix
return System.Vector3

ToEulerAngle() public static method

public static ToEulerAngle ( Quaternion quaternion ) : System.Vector3
quaternion Quaternion
return System.Vector3

ToRadians() public static method

public static ToRadians ( System.Vector3 degrees ) : System.Vector3
degrees System.Vector3
return System.Vector3

ToRadians() public static method

public static ToRadians ( float degrees ) : float
degrees float
return float