You are here: Start » AVL.NET » AVL.RotateVector(AvlNet.Vector2D, float, bool, AvlNet.Vector2D)

AVL.RotateVector(AvlNet.Vector2D, float, bool, AvlNet.Vector2D)

Rotates a vector clockwise.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotateVector(
	AvlNet.Vector2D inVector,
	float inAngle,
	bool inInverse,
	out AvlNet.Vector2D outVector
)

Parameters

inVector
Type: AvlNet.Vector2D
inAngle
Type: System.Single
Clockwise angle of rotation
inInverse
Type: System.Boolean
Switches to the inverse operation
outVector
Type: AvlNet.Vector2D

Examples

RotateVector performed on the sample vector, inAngle = 135.0 and inInverse = False.

See also