You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.RotateVector3D

AVL.RotateVector3D

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
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