Click or drag to resize
Vector3Reject Method (Vector3, Vector3)

[This is preliminary documentation and is subject to change.]

Returns the rejection of vector from direction, i.e. projection of vector onto the plane defined by origin and direction

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static Vector3 Reject(
	Vector3 vector,
	Vector3 direction
)

Parameters

vector
Type: VRageMathVector3
Vector which is to be rejected
direction
Type: VRageMathVector3
Direction from which the input vector will be rejected

Return Value

Type: Vector3
Rejection of the vector from the given direction
See Also