85 ctx.
getReturn() = (float)std::rand() / (float)RAND_MAX;
103 static const float kEpsilon = 1e-5f;
115 ctx.
getReturn() = sqrtf(x*x + y*y + z*z);
122 const float length = sqrtf(x*x + y*y + z*z);
void sin(Aurora::NWScript::FunctionContext &ctx)
void asin(Aurora::NWScript::FunctionContext &ctx)
void randomFloat(Aurora::NWScript::FunctionContext &ctx)
void getArraySize(Aurora::NWScript::FunctionContext &ctx)
void random(Aurora::NWScript::FunctionContext &ctx)
void cos(Aurora::NWScript::FunctionContext &ctx)
Context of an NWScript function.
void fabs(Aurora::NWScript::FunctionContext &ctx)
void atan(Aurora::NWScript::FunctionContext &ctx)
Utility templates and functions.
void intToFloat(Aurora::NWScript::FunctionContext &ctx)
void setVector(float x, float y, float z)
void tan(Aurora::NWScript::FunctionContext &ctx)
void abs(Aurora::NWScript::FunctionContext &ctx)
void sqrt(Aurora::NWScript::FunctionContext &ctx)
void floatToInt(Aurora::NWScript::FunctionContext &ctx)
void log(Aurora::NWScript::FunctionContext &ctx)
void acos(Aurora::NWScript::FunctionContext &ctx)
void pow(Aurora::NWScript::FunctionContext &ctx)
Dragon Age: Origins engine functions.
void getVectorNormalize(Aurora::NWScript::FunctionContext &ctx)
void isVectorEmpty(Aurora::NWScript::FunctionContext &ctx)
void vector(Aurora::NWScript::FunctionContext &ctx)
void getVectorMagnitude(Aurora::NWScript::FunctionContext &ctx)