Table of Contents
- Monkey
- Arrays
- Map
- Strings
Monkey
void print( string text )
| text | string | A string containing contents to be output into the console. |
float sin( float angle )
| angle | float | An angle represented in degrees. |
float cos( float angle )
| angle | float | An angle represented in degrees. |
float tan( float angle )
| angle | float | An angle represented in degrees. |
float asin( float angle )
| angle | float | An angle represented in degrees. |
float acos( float angle )
| angle | float | An angle represented in degrees. |
float atan( float angle )
| angle | float | An angle represented in degrees. |
float atan2( float y , float x )
| y | float | An angle represented in degrees. |
| x | float | An angle represented in degrees. |
float sinr( float angle )
| angle | float | An angle represented in radians. |
float cosr( float angle )
| angle | float | An angle represented in radians. |
float tanr( float angle )
| angle | float | An angle represented in radians. |
float asinr( float angle )
| angle | float | An angle represented in radians. |
float acosr( float angle )
| angle | float | An angle represented in radians. |
float atanr( float angle )
| angle | float | An angle represented in radians. |
float atan2r( float y , float x )
| y | float | An angle represented in radians. |
| x | float | An angle represented in radians. |
float sqrt( float x )
| x | float | The value to be used in calculation. |
float floor( float x )
| x | float | The value to be used in calculation. |
float ceil( float x )
| x | float | The value to be used in calculation. |
float log( float x )
| x | float | The value to be used in calculation. |
float pow( float value , float pow )
| value | float | The value to be raised to a numeric power. |
| pow | float | The numeric power to raise value by. |
float exp( float x )
| x | float | The value to be used in calculation. |
float sgn( float x )
| x | float | The value to be used in calculation. |
float abs( float x )
| x | float | The value to be used in calculation. |
float min( float x , float y )
| x | float | The value to be used in calculation. |
| y | float | The value to be used in calculation. |
float max( float x , float y )
| x | float | The value to be used in calculation. |
| y | float | The value to be used in calculation. |
float clamp( float x , float min , float max )
| x | float | The value to be clamped. |
| min | float | The minimum value that x can be. |
| max | float | The maximum value that x can be. |
float seed( )
void seed( float x )
| x | float | Sets the seed for the random number generator. |
float rnd( )
float rnd( float range )
| range | float | The maximum range random can be. |
float rnd( float low , float high )
| low | float | The lowest value that random can use. |
| high | float | The highest value that random can use. |