Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 2D Spatial Transforms » RotateAngle_Toward
Changes the input direction in the direction of minimum rotation toward the target direction.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::RotateAngle_Toward ( float inAngle, float inTargetAngle, avl::AngleRange::Type inAngleRange, float inRotationAngle, bool inInverse, float& outAngle )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inAngle | float | |||
inTargetAngle | float | |||
inAngleRange | AngleRange::Type | |||
inRotationAngle | float | |||
inInverse | bool | |||
outAngle | float& |