C# Class GravityTurn.MathExtensions

Show file Open project: johnfink8/GravityTurn

Public Methods

Method Description
Add ( this left, Quaternion right ) : Quaternion
AngleInPlane ( this vector, Vector3 planeNormal, Vector3 other ) : float
Clamp ( this value, double min, double max ) : UnityEngine.Vector3d
Clamp ( double val, double min, double max ) : double
Conj ( this left ) : Quaternion
DeltaEuler ( this delta ) : UnityEngine.Vector3d
Invert ( this vector ) : UnityEngine.Vector3d
Mult ( this left, float lambda ) : Quaternion
ProjectIntoPlane ( this vector, Vector3 planeNormal ) : Vector3
Reorder ( this vector, int order ) : UnityEngine.Vector3d
Sign ( this vector ) : UnityEngine.Vector3d

Method Details

Add() public static method

public static Add ( this left, Quaternion right ) : Quaternion
left this
right UnityEngine.Quaternion
return UnityEngine.Quaternion

AngleInPlane() public static method

public static AngleInPlane ( this vector, Vector3 planeNormal, Vector3 other ) : float
vector this
planeNormal Vector3
other Vector3
return float

Clamp() public static method

public static Clamp ( this value, double min, double max ) : UnityEngine.Vector3d
value this
min double
max double
return UnityEngine.Vector3d

Clamp() public static method

public static Clamp ( double val, double min, double max ) : double
val double
min double
max double
return double

Conj() public static method

public static Conj ( this left ) : Quaternion
left this
return UnityEngine.Quaternion

DeltaEuler() public static method

public static DeltaEuler ( this delta ) : UnityEngine.Vector3d
delta this
return UnityEngine.Vector3d

Invert() public static method

public static Invert ( this vector ) : UnityEngine.Vector3d
vector this
return UnityEngine.Vector3d

Mult() public static method

public static Mult ( this left, float lambda ) : Quaternion
left this
lambda float
return UnityEngine.Quaternion

ProjectIntoPlane() public static method

public static ProjectIntoPlane ( this vector, Vector3 planeNormal ) : Vector3
vector this
planeNormal Vector3
return Vector3

Reorder() public static method

public static Reorder ( this vector, int order ) : UnityEngine.Vector3d
vector this
order int
return UnityEngine.Vector3d

Sign() public static method

public static Sign ( this vector ) : UnityEngine.Vector3d
vector this
return UnityEngine.Vector3d