Table of Contents

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

vector Vector2

The vector to reject.

baseVector Vector2

The base vector to reject from.

Returns

Vector2

The rejection of vector from baseVector.

Remarks

<p>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

vector Vector3

The vector to reject.

baseVector Vector3

The base vector to reject from.

Returns

Vector3

The rejection of vector from baseVector.

Remarks

<p>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.

public static Vector4 Rej(this Vector4 vector, Vector4 baseVector)

Parameters

vector Vector4

The vector to reject.

baseVector Vector4

The base vector to reject from.

Returns

Vector4

The rejection of vector from baseVector.

Remarks

The sum of a vector's projection and rejection on a base is equal to the original vector.