Workshop.codes
Create

Angle Difference Last updated November 26, 2024

Description

The difference in degrees between two angles. After the angles are wrapped to be within +/- 180 of each other, the result is positive if the second angle is greater than the first angle. Otherwise, the result is zero or negative.

Snippet

Angle Difference(0, 0);

Properties

Returns: Float
Parameters: Angle, Angle

Angle
Type: Float, Default: Number
One of the two angles between which to measure the resulting angle.

Angle
Type: Float, Default: Number
One of the two angles between which to measure the resulting angle.

Workshop.codes