NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Functions
customtypes.h File Reference

Provides simple to script registration for custom types. More...

#include <assert.h>
#include <angelscript.h>
#include <d3dx9math.h>
#include <NLTmx\NLTmxMap.h>
Include dependency graph for customtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void QuatFactory (void *memory)
void QuatFactory (const float &x, const float &y, const float &z, const float &w, void *memory)
D3DXQUATERNION * MyQuaternionRotationYawPitchRoll (__inout D3DXQUATERNION *pOut, __in FLOAT Yaw, __in FLOAT Pitch, __in FLOAT Roll)
void VectorFactory (void *memory)
void VectorFactory (const float &x, const float &y, const float &z, void *memory)
D3DXVECTOR3 VectorApplyRotation (const D3DXVECTOR3 &left, const D3DXQUATERNION &right)
D3DXVECTOR3 AddVectors (const D3DXVECTOR3 &left, const D3DXVECTOR3 &right)
D3DXVECTOR3 SubtractVectors (const D3DXVECTOR3 &left, const D3DXVECTOR3 &right)
float VectorMagnitudeSq (const D3DXVECTOR3 &vector)
float VectorMagnitude (const D3DXVECTOR3 &vector)
D3DXVECTOR3 VectorNormalize (const D3DXVECTOR3 &vector)
void ColorFactory (void *memory)
void ColorFactory (const float &r, const float &g, const float &b, const float &a, void *memory)
void RegisterCustomScriptTypes (asIScriptEngine *engine)

Detailed Description

Provides simple to script registration for custom types.

Author:
Ricky Curtice

Definition in file customtypes.h.