Polyphase Game Engine
Loading...
Searching...
No Matches
Sphere3d_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5#include "Engine.h"
6
7#include "Nodes/3D/Sphere3d.h"
8
11
12#if LUA_ENABLED
13
14#define SPHERE_3D_LUA_NAME "Sphere3D"
15#define SPHERE_3D_LUA_FLAG "cfSphere3D"
16#define CHECK_SPHERE_3D(L, arg) static_cast<Sphere3D*>(CheckNodeLuaType(L, arg, SPHERE_3D_LUA_NAME, SPHERE_3D_LUA_FLAG));
17
18struct Sphere3D_Lua
19{
20 static int GetRadius(lua_State* L);
21 static int SetRadius(lua_State* L);
22
23 static void Bind();
24};
25
26#endif