Back to FabImage Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » RotateAngle_Toward

RotateAngle_Toward
Header: | FIL.h |
---|---|
Namespace: | fil |
Changes the input direction in the direction of minimum rotation toward the target direction.
Syntax
void fil::RotateAngle_Toward ( float inAngle, float inTargetAngle, fil::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& |