diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2023-09-17 22:38:12 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2023-09-17 22:38:12 -0500 |
| commit | 072690890fa67887f991ad48545c226e379773bc (patch) | |
| tree | 7bf5a5727de267d7c5738ea1cd33e403e29394ab | |
| parent | c2e244a526bc69eaf543ec5c64786b00d0ee271d (diff) | |
| download | brokengine-072690890fa67887f991ad48545c226e379773bc.tar.gz brokengine-072690890fa67887f991ad48545c226e379773bc.tar.bz2 brokengine-072690890fa67887f991ad48545c226e379773bc.zip | |
Add documentation for creating a scene node
| -rw-r--r-- | src/client/lua_api/scene/imesh.cpp | 7 |
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" |
