Update Variables
@@ -9,5 +9,9 @@ The following variables are provided by the library:
|
||||
|s.MY|float|Mouse/Touch Y|
|
||||
|s.T|float|Seconds elapsed since start|
|
||||
|s.DT|float|Delta time (Time between frames)|
|
||||
|s.PI|float|Pi|
|
||||
|s.TWO_PI|float|2*s.PI|
|
||||
|s.HALF_PIfloat|s.PI/2|
|
||||
|
||||
|
||||
They can be used anywhere in the code, however you need to run s.start() first
|
||||
Reference in New Issue
Block a user