Click or drag to resize

Vector2Transform Method (Vector2, Quaternion)

Transforms a vector by the given Quaternion rotation value.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Vector2 Transform(
	Vector2 value,
	Quaternion rotation
)

Parameters

value
Type: Karamba.GeometryVector2
The source vector to be rotated.
rotation
Type: Karamba.GeometryQuaternion
The rotation to apply.

Return Value

Type: Vector2
The transformed vector.
See Also