From 072690890fa67887f991ad48545c226e379773bc Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Sun, 17 Sep 2023 22:38:12 -0500 Subject: Add documentation for creating a scene node --- src/client/lua_api/scene/imesh.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- cgit v1.2.3-70-g09d2