Method Rej
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Rej(Vector2, Vector2)
Returns the rejection of this vector onto the given base.
public static Vector2 Rej(this Vector2 vector, Vector2 baseVector)
Parameters
Returns
Remarks
The sum of a vector's projection and rejection on a base is equal to the original vector.
Rej(Vector3, Vector3)
Returns the rejection of this vector onto the given base.
public static Vector3 Rej(this Vector3 vector, Vector3 baseVector)
Parameters
Returns
Remarks
The sum of a vector's projection and rejection on a base is equal to the original vector.
Rej(Vector4, Vector4)
Returns the rejection of this vector onto the given base. The sum of a vector's projection and rejection on a base is equal to the original vector.
public static Vector4 Rej(this Vector4 vector, Vector4 baseVector)