Class MathfEx
Syntax
public static class MathfEx
Methods
Bezier(Vector2, Vector2, Vector2, Vector2, Single)
Declaration
public static Vector2 Bezier(Vector2 s, Vector2 e, Vector2 st, Vector2 et, float t)
Parameters
Returns
Bezier(Vector3, Vector3, Vector3, Vector3, Single)
Declaration
public static Vector3 Bezier(Vector3 s, Vector3 e, Vector3 st, Vector3 et, float t)
Parameters
Returns
GetR(Matrix4x4)
Declaration
public static Quaternion GetR(this Matrix4x4 trs)
Parameters
Returns
GetS(Matrix4x4)
Declaration
public static Vector3 GetS(this Matrix4x4 trs)
Parameters
Returns
GetT(Matrix4x4)
Declaration
public static Vector3 GetT(this Matrix4x4 trs)
Parameters
Returns
HigherMultiple(Single, Single)
Declaration
public static float HigherMultiple(float x, float f)
Parameters
Returns
NearestMultiple(Single, Single)
Declaration
public static float NearestMultiple(float x, float f)
Parameters
Returns
ScaleAroundPivot(Vector3, Vector3)
Declaration
public static Matrix4x4 ScaleAroundPivot(Vector3 pivot, Vector3 scale)
Parameters
Returns
Wrap(Single, Single)
Declaration
public static float Wrap(float x, float m)
Parameters
Returns