Method Proj
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
Proj(Vector2, Vector2)
Returns the projection of this vector onto the given base.
public static Vector2 Proj(this Vector2 vector, Vector2 baseVector)
Parameters
Returns
- Vector2
The projection of
vectorontobaseVector.
Proj(Vector3, Vector3)
Returns the projection of this vector onto the given base.
public static Vector3 Proj(this Vector3 vector, Vector3 baseVector)
Parameters
Returns
- Vector3
The projection of
vectorontobaseVector.
Proj(Vector4, Vector4)
Returns the projection of this vector onto the given base.
public static Vector4 Proj(this Vector4 vector, Vector4 baseVector)
Parameters
Returns
- Vector4
The projection of
vectorontobaseVector.