Go to the source code of this file.
Functions | |
template<typename T > | |
void | constructor (void *memory) |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | constructor (const vector2d< T > &other, void *memory) |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | constructor (T n, void *memory) |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | constructor (T x, T y, void *memory) |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript. | |
template<typename T > | |
void | deconstructor (void *memory) |
An AngelScript wrapper function so that vector2d<T> objects can be deconstructed within AngelScript. | |
template<typename T > | |
int | compare (const vector2d< T > &a, const vector2d< T > &b) |
An AngelScript wrapper function that vector2d<T> objects can be compared. | |
template<typename T > | |
void | bindVector2dT (asIScriptEngine *engine, const char *typeName, const char *asType) |
Binds vector2d<T> as a value type to AngelScript with the given template. | |
void | bindVector2d (asIScriptEngine *engine) |
Binds all needed vector2d<T> objects to AngelScript. | |
std::string | getVector2dName (const std::string &asType) |
Gets the name of the vector2d<T> registered within AngelScript. |
void bindVector2d | ( | asIScriptEngine * | engine | ) |
Binds all needed vector2d<T> objects to AngelScript.
engine | Pointer to the AngelScript engine; |
Definition at line 327 of file asVector2d.cpp.
void bindVector2dT | ( | asIScriptEngine * | engine, | |
const char * | typeName, | |||
const char * | asType | |||
) | [inline] |
Binds vector2d<T> as a value type to AngelScript with the given template.
engine | Pointer to the AngelScript engine | |
typeName | The name of the object within AngelScript; | |
asType | The AngelScript name of the used template; |
Definition at line 86 of file asVector2d.cpp.
int compare | ( | const vector2d< T > & | a, | |
const vector2d< T > & | b | |||
) | [inline] |
An AngelScript wrapper function that vector2d<T> objects can be compared.
Definition at line 73 of file asVector2d.cpp.
void constructor | ( | T | x, | |
T | y, | |||
void * | memory | |||
) | [inline] |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript.
Definition at line 56 of file asVector2d.cpp.
void constructor | ( | T | n, | |
void * | memory | |||
) | [inline] |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript.
Definition at line 47 of file asVector2d.cpp.
void constructor | ( | const vector2d< T > & | other, | |
void * | memory | |||
) | [inline] |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript.
Definition at line 38 of file asVector2d.cpp.
void constructor | ( | void * | memory | ) | [inline] |
An AngelScript wrapper function so that vector2d<T> objects can be constructed within AngelScript.
Definition at line 29 of file asVector2d.cpp.
void deconstructor | ( | void * | memory | ) | [inline] |
An AngelScript wrapper function so that vector2d<T> objects can be deconstructed within AngelScript.
Definition at line 65 of file asVector2d.cpp.
std::string getVector2dName | ( | const std::string & | asType | ) |
Gets the name of the vector2d<T> registered within AngelScript.
asType | The AngelScript name of the used template; |
Definition at line 335 of file asVector2d.cpp.