You've already forked AngelScript
mirror of
https://github.com/AxioDL/AngelScript.git
synced 2026-03-30 11:37:12 -07:00
27 lines
738 B
C
27 lines
738 B
C
|
|
#ifndef SCRIPTMATH_H
|
||
|
|
#define SCRIPTMATH_H
|
||
|
|
|
||
|
|
#ifndef ANGELSCRIPT_H
|
||
|
|
// Avoid having to inform include path if header is already include before
|
||
|
|
#include <angelscript.h>
|
||
|
|
#endif
|
||
|
|
|
||
|
|
|
||
|
|
BEGIN_AS_NAMESPACE
|
||
|
|
|
||
|
|
// This function will determine the configuration of the engine
|
||
|
|
// and use one of the two functions below to register the math functions
|
||
|
|
void RegisterScriptMath(asIScriptEngine *engine);
|
||
|
|
|
||
|
|
// Call this function to register the math functions
|
||
|
|
// using native calling conventions
|
||
|
|
void RegisterScriptMath_Native(asIScriptEngine *engine);
|
||
|
|
|
||
|
|
// Use this one instead if native calling conventions
|
||
|
|
// are not supported on the target platform
|
||
|
|
void RegisterScriptMath_Generic(asIScriptEngine *engine);
|
||
|
|
|
||
|
|
END_AS_NAMESPACE
|
||
|
|
|
||
|
|
#endif
|