You are here: Start » AVL.NET » AVS.RotateVector3D Method

AVS.RotateVector3D Method

Rotates a 3D vector around another 3D vector (the axis).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RotateVector3D
(
	AvlNet.Vector3D inVector3D,
	AvlNet.Vector3D inAxisVector,
	float inAngle,
	bool inInverse,
	out AvlNet.Vector3D outVector3D
)

Parameters

Name Type Range Default Description
inVector3DAvlNet.Vector3D
inAxisVectorAvlNet.Vector3DVector to rotate around.
inAnglefloatClockwise angle of rotation.
inInverseboolSwitches to the inverse operation.
outVector3DAvlNet.Vector3D

See also