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

AVL.RotateAngle_Toward

Changes the input direction in the direction of minimum rotation toward the target direction.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RotateAngle_Toward
(
	float inAngle,
	float inTargetAngle,
	AvlNet.AngleRange inAngleRange,
	float inRotationAngle,
	bool inInverse,
	out float outAngle
)

Parameters

Name Type Range Default Description
inAnglefloat
inTargetAnglefloat
inAngleRangeAvlNet.AngleRange_0_180Default value: _0_180.
inRotationAnglefloat
inInversebool
outAnglefloat

See also