Polyphase Game Engine
Loading...
Searching...
No Matches
Gizmos_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "Engine.h"
4
5#if LUA_ENABLED
6
7#define GIZMOS_LUA_NAME "Gizmos"
8
9struct Gizmos_Lua
10{
11 static int SetColor(lua_State* L);
12 static int GetColor(lua_State* L);
13 static int SetMatrix(lua_State* L);
14 static int GetMatrix(lua_State* L);
15 static int ResetState(lua_State* L);
16
17 static int DrawCube(lua_State* L);
18 static int DrawSphere(lua_State* L);
19 static int DrawMesh(lua_State* L);
20 static int DrawWireCube(lua_State* L);
21 static int DrawWireSphere(lua_State* L);
22 static int DrawWireMesh(lua_State* L);
23
24 static int DrawLine(lua_State* L);
25 static int DrawRay(lua_State* L);
26 static int DrawFrustum(lua_State* L);
27
28 static void Bind();
29};
30
31#endif