aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api')
-rw-r--r--src/client/lua_api/scene/imesh.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/lua_api/scene/imesh.cpp b/src/client/lua_api/scene/imesh.cpp
index b3d32df..f148a56 100644
--- a/src/client/lua_api/scene/imesh.cpp
+++ b/src/client/lua_api/scene/imesh.cpp
@@ -23,6 +23,13 @@ using namespace video;
extern IrrlichtDevice* device;
+/***
+Create a mesh
+Creates a mesh in the scene.
+@function scene.newmesh(string path)
+@tparam string path The path to the model to load
+@treturn imesh The mesh that was created.
+*/
//{} :: scene.newmesh("/path/to/model")
static int newiscenemesh(lua_State* L){//"path/to"