include/IGUIElement.h \
include/IGUIEnvironment.h \
include/IGUIStaticText.h \
+ include/IMeshSceneNode.h \
include/IrrlichtDevice.h \
include/ISceneManager.h \
include/ISceneNode.h \
--- /dev/null
+/* c-irrlicht --- C bindings for Irrlicht Engine
+
+ Copyright (C) 2019 Javier Sancho <jsf@jsancho.org>
+
+ This file is part of c-irrlicht.
+
+ c-irrlicht is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 3 of the
+ License, or (at your option) any later version.
+
+ c-irrlicht is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with guile-irrlicht. If not, see
+ <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __C_I_MESH_SCENE_NODE_H_INCLUDED__
+#define __C_I_MESH_SCENE_NODE_H_INCLUDED__
+
+typedef void irr_scene_IMeshSceneNode;
+
+#endif
#include "IAnimatedMesh.h"
#include "IAnimatedMeshSceneNode.h"
#include "ICameraSceneNode.h"
+#include "IMeshSceneNode.h"
#include "ISceneNode.h"
#include "vector3d.h"
int id,
int makeActive);
+ irr_scene_IMeshSceneNode*
+ irr_scene_addOctreeSceneNodeAM(irr_scene_ISceneManager* smgr,
+ irr_scene_IAnimatedMesh* mesh,
+ irr_scene_ISceneNode* parent,
+ int id,
+ int minimalPolysPerNode,
+ int alsoAddIfMeshPointerZero);
+
void
irr_scene_drawAll(irr_scene_ISceneManager* smgr);
#include "IGUIEnvironment.h"
#include "IGUIElement.h"
#include "IGUIStaticText.h"
+#include "IMeshSceneNode.h"
#include "IrrlichtDevice.h"
#include "ISceneManager.h"
#include "ISceneNode.h"
makeActive);
}
+ irr_scene_IMeshSceneNode*
+ irr_scene_addOctreeSceneNodeAM(irr_scene_ISceneManager* smgr,
+ irr_scene_IAnimatedMesh* mesh,
+ irr_scene_ISceneNode* parent,
+ int id,
+ int minimalPolysPerNode,
+ int alsoAddIfMeshPointerZero)
+ {
+ return ((irr::scene::ISceneManager*)smgr)
+ ->addOctreeSceneNode((irr::scene::IAnimatedMesh*)mesh,
+ (irr::scene::ISceneNode*)parent,
+ id,
+ minimalPolysPerNode,
+ alsoAddIfMeshPointerZero);
+ }
+
void
irr_scene_drawAll(irr_scene_ISceneManager* smgr)
{