]> git.jsancho.org Git - c-irrlicht.git/commitdiff
getSceneManager
authorJavier Sancho <jsf@jsancho.org>
Thu, 3 Oct 2019 11:31:18 +0000 (13:31 +0200)
committerJavier Sancho <jsf@jsancho.org>
Thu, 3 Oct 2019 11:31:18 +0000 (13:31 +0200)
include/IrrlichtDevice.h
src/IrrlichtDevice.cpp

index 906fb0a1372cbc7379bb20b3ac8c33c4869fa92d..c5a2ed69bd2e5403155eae0ec1cdf83aedf07da3 100644 (file)
@@ -26,6 +26,7 @@
 extern "C" {
 #endif
 
+  void* irr_IrrlichtDevice_getSceneManager(void* device);
   void* irr_IrrlichtDevice_getVideoDriver(void* device);
 
 #ifdef __cplusplus
index b78b1ecabdb5941cab89809a3dd590e27fa94e3d..fc7665a9e97231c033d8e8d3789dbd7c388ae332 100644 (file)
 #include "IrrlichtDevice.h"
 
 extern "C" {
+  void* irr_IrrlichtDevice_getSceneManager(void* device)
+  {
+    return ((irr::IrrlichtDevice*)device)->getSceneManager();
+  }
+
   void* irr_IrrlichtDevice_getVideoDriver(void* device)
   {
     return ((irr::IrrlichtDevice*)device)->getVideoDriver();