Units

This page describes all functions and operations available for units

Usage

Most basic unit is plain number, such as '1' or '4.5'.

You can use variables with $ like '$example'.

Each function requires name parenthesis and comma separated arguments e.g. 'min(PI, $example)'.

You can combine as many as you want, e.g. 'min(PI, 10 + $example)'.

You can do pretty complex infix, e.g. 'atan2($mouseY, $mouseX) - HALF_PI - HALF_PI / 2'.

Constants
Operations
Functions

Revision #8
Created 14 August 2021 21:51:04 by Lat
Updated 14 October 2022 14:22:41 by Lat