You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.RotateVector

AVL.RotateVector

Rotates a vector clockwise.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inVectorAvlNet.Vector2D
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outVectorAvlNet.Vector2D

Examples

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

See also