From 92ef53df27b980ca7db7c4d1755ed61eb1913233 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Sun, 13 Oct 2019 15:36:56 +0200 Subject: [PATCH] scene manager draw all --- include/ISceneManager.h | 3 +++ src/ISceneManager.cpp | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/include/ISceneManager.h b/include/ISceneManager.h index 92812d1..7d0d04d 100644 --- a/include/ISceneManager.h +++ b/include/ISceneManager.h @@ -52,6 +52,9 @@ extern "C" { int32_t id, bool makeActive); + void + irr_scene_ISceneManager_drawAll(irr_scene_ISceneManager* smgr); + irr_scene_IAnimatedMesh* irr_scene_ISceneManager_getMesh(irr_scene_ISceneManager* smgr, const char* filename); diff --git a/src/ISceneManager.cpp b/src/ISceneManager.cpp index 4e87481..8139f84 100644 --- a/src/ISceneManager.cpp +++ b/src/ISceneManager.cpp @@ -74,6 +74,13 @@ extern "C" { makeActive); } + void + irr_scene_ISceneManager_drawAll(irr_scene_ISceneManager* smgr) + { + ((irr::scene::ISceneManager*)smgr)->drawAll(); + } + + irr_scene_IAnimatedMesh* irr_scene_ISceneManager_getMesh(irr_scene_ISceneManager* smgr, const char* filename) -- 2.39.5