Class MathExtensions
Inheritance
MathExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public static class MathExtensions
Methods
CheckQuaternion(Quaternion)
Declaration
public static Quaternion CheckQuaternion(Quaternion q)
Parameters
| Type |
Name |
Description |
| Quaternion |
q |
|
Returns
| Type |
Description |
| Quaternion |
|
ScaleRotation(Quaternion, Single)
Declaration
public static Quaternion ScaleRotation(Quaternion rot, float scale)
Parameters
| Type |
Name |
Description |
| Quaternion |
rot |
|
| System.Single |
scale |
|
Returns
| Type |
Description |
| Quaternion |
|
TopDown(Vector3)
Declaration
public static Vector2 TopDown(Vector3 v)
Parameters
| Type |
Name |
Description |
| Vector3 |
v |
|
Returns
TopDownDirection(Vector3)
Declaration
public static Vector2 TopDownDirection(Vector3 v)
Parameters
| Type |
Name |
Description |
| Vector3 |
v |
|
Returns