The "angle_reflect" Function
#
SyntaxArgument | Type | Description |
---|---|---|
deg | real | The angle to reflect, in degrees |
mirror | real | The mirror angle to reflect from, in degrees |
#
DescriptionReturns 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!