Wrap Angle
PureWrapAngleWraps an angle to the -180 to 180 range.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Angle | float | — | Angle parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Normalize accumulated rotation values.
Example 2
Calculate shortest turn direction between two headings.