Math
Basic arithmetic and trigonometric functions.
Degrees and radians
The trigonometric functions (such as sin()
, cos()
, tan()
,
asin()
, …) expect (or return) angles in degrees.
It may be useful to use radians instead, use the deg()
and rad()
functions to convert between degrees and radians.
deg(rad);
rad(deg);