2013-06-17 14:19:00 +08:00
|
|
|
#ifndef __LUA_OPENGL_H__
|
|
|
|
#define __LUA_OPENGL_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#include "tolua++.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-10-16 17:19:02 +08:00
|
|
|
#include "CCNode.h"
|
|
|
|
|
2013-07-17 10:15:25 +08:00
|
|
|
class GLNode:public cocos2d::Node
|
|
|
|
{
|
|
|
|
virtual void draw();
|
|
|
|
};
|
|
|
|
|
2013-06-17 14:19:00 +08:00
|
|
|
TOLUA_API int tolua_opengl_open(lua_State* tolua_S);
|
2013-12-11 12:05:46 +08:00
|
|
|
TOLUA_API int register_glnode_manual(lua_State* tolua_S);
|
2013-06-17 14:19:00 +08:00
|
|
|
|
|
|
|
#endif //__LUA_OPENGL_H__
|