include/EMaterialFlags.h \
include/IAnimatedMeshMD2.h \
include/IAnimatedMeshSceneNode.h \
+ include/ICameraSceneNode.h \
include/IGUIElement.h \
include/IGUIEnvironment.h \
include/IGUIStaticText.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_CAMERA_SCENE_NODE_H_INCLUDED__
+#define __C_I_CAMERA_SCENE_NODE_H_INCLUDED__
+
+typedef void irr_scene_ICameraSceneNode;
+
+#endif
#define __C_SCENE_MANAGER_H_INCLUDED__
#include "IAnimatedMeshSceneNode.h"
+#include "ICameraSceneNode.h"
#include "vector3d.h"
typedef void irr_scene_IAnimatedMesh;
irr_core_vector3df* scale,
bool alsoAddIfMeshPointerZero);
+ irr_scene_ICameraSceneNode*
+ addCameraSceneNode(irr_scene_ISceneManager* smgr,
+ irr_scene_ISceneNode* parent,
+ irr_core_vector3df* position,
+ irr_core_vector3df* lookat,
+ int32_t id,
+ bool makeActive);
+
irr_scene_IAnimatedMesh*
irr_scene_ISceneManager_getMesh(irr_scene_ISceneManager* smgr,
const char* filename);
#include "EMaterialFlags.h"
#include "IAnimatedMeshMD2.h"
#include "IAnimatedMeshSceneNode.h"
+#include "ICameraSceneNode.h"
#include "IGUIEnvironment.h"
#include "IGUIElement.h"
#include "IGUIStaticText.h"
alsoAddIfMeshPointerZero);
}
+ irr_scene_ICameraSceneNode*
+ addCameraSceneNode(irr_scene_ISceneManager* smgr,
+ irr_scene_ISceneNode* parent,
+ irr_core_vector3df* position,
+ irr_core_vector3df* lookat,
+ int32_t id,
+ bool makeActive)
+ {
+ const irr::core::vector3df& iPosition = irr::core::vector3df(position->x,
+ position->y,
+ position->z);
+ const irr::core::vector3df& iLookat = irr::core::vector3df(lookat->x,
+ lookat->y,
+ lookat->z);
+ return (irr_scene_ICameraSceneNode*)
+ ((irr::scene::ISceneManager*)smgr)->addCameraSceneNode((irr::scene::ISceneNode*)parent,
+ iPosition,
+ iLookat,
+ id,
+ makeActive);
+ }
+
irr_scene_IAnimatedMesh*
irr_scene_ISceneManager_getMesh(irr_scene_ISceneManager* smgr,
const char* filename)