The "angle_reflect" Function
Syntax#
| Argument | Type | Description | 
|---|---|---|
deg | real | The angle to reflect, in degrees | 
mirror | real | The mirror angle to reflect from, in degrees | 
Description#
Returns an angle in degrees reflected from a mirror "line" with the given angle in degrees. A mirror angle of 0 degrees is considered horizontal.
tip
See the included interactive demo for a visual example of this function!

X1