Skip to main content

Module consts

Module consts 

Source
Expand description

Common constants.

Constants§

DOWN
(0, 1) — screen-space down (Y-down convention)
HALF_PI
π / 2
LEFT
(-1, 0)
ONE
(1, 1) normalized
PI
Useful approximation of π.
RIGHT
(1, 0)
TAU
UP
(0, -1) — screen-space down (Y-down convention)
ZERO
(0, 0)