Path: /sdk/add_on/scriptmath/
This add-on registers the math functions from the standard C runtime library with the script engine. Use RegisterScriptMath(asIScriptEngine*)
to perform the registration.
The following functions are registered:
- float cos(float)
- float sin(float)
- float tan(float)
- float acos(float)
- float asin(float)
- float atan(float)
- float cosh(float)
- float sinh(float)
- float tanh(float)
- float log(float)
- float log10(float)
- float pow(float, float)
- float sqrt(float)
- float ceil(float)
- float abs(float)
- float floor(float)
- float fraction(float)