Namespaces | Functions

_src_lua_bind_macros_program.hh File Reference

Macros to simplify glue code between C++ and Lua (program-specific). More...

#include "math/module.hh"
#include "math/matrix.hh"
#include "gfx/rgba.hh"
#include "gfx/graphics.hh"
#include "physics/types.hh"

Go to the source code of this file.

Namespaces

namespace  lua
 

Lua main namespace.


namespace  lua::bind
 

Interface (bindings) between C++ and Lua scripts (include "lua_bind/bind.hh").


Functions

RGBA lua::bind::POP_RGBA (lua_State *L)
Rect< int > lua::bind::POP_TABLE_INTO_RECT (lua_State *L)
template<typename VECTOR3 >
VECTOR3 lua::bind::POP_VECTOR3 (lua_State *L)
template<typename VECTOR3 >
void lua::bind::PUSH_VECTOR3 (lua_State *L, const VECTOR3 &v)
 Push a 3D vector as table {[0]=x,[1]=y,[2]=z} with index starting at ZERO (0).
void lua::bind::POP_TABLE_INTO_MATRIX (lua_State *L, Matrix &matrix)
void lua::bind::PUSH_TABLE_FROM_MATRIX (lua_State *L, const Matrix &matrix)

Detailed Description

Macros to simplify glue code between C++ and Lua (program-specific).

LastChangedDate:
2010-05-02 15:12:55 -0400 (Sun, 02 May 2010)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
See macros.hh
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10