text: /*	PureBasic Engine3D licence
  *	--------------------------
  *
  *	MIT License
  *
  *	Copyright (c) 2017 Jerome Ortali
  *
  *	Permission is hereby granted, free of charge, to any person obtaining a copy
  *	of this software and associated documentation files (the "Software"), to deal
  *	in the Software without restriction, including without limitation the rights
  *	to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  *	copies of the Software, and to permit persons to whom the Software is
  *	furnished to do so, subject to the following conditions:
  *
  *	The above copyright notice and this permission notice shall be included in all
  *	copies or substantial portions of the Software.
  *
  *	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  *	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  *	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  *	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  *	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  *	OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  *	SOFTWARE.
  */
  #ifndef MODEL_HPP
  #define MODEL_HPP
  
  #include <Urho3D/Engine/Engine.h>
  #include <Urho3D/Graphics/Graphics.h>
  #include <Urho3D/Graphics/Camera.h>
  #include <Urho3D/Graphics/Geometry.h>
  #include <Urho3D/Graphics/Renderer.h>
  #include <Urho3D/Graphics/DebugRenderer.h>
  #include <Urho3D/Graphics/Octree.h>
  #include <Urho3D/Graphics/Light.h>
  #include <Urho3D/Graphics/Model.h>
  #include <Urho3D/Graphics/StaticModel.h>
  #include <Urho3D/Graphics/Material.h>
  #include <Urho3D/Graphics/Skybox.h>
  
  #include <Urho3D/Graphics/AnimatedModel.h>
  #include <Urho3D/Graphics/AnimationController.h>
  
  #ifndef PB_FUNCTION
  	#define PB_FUNCTION(T) __declspec(dllexport) T
  #endif 
  
  extern Urho3D::ResourceCache* PB_RESOURCECACHE;
  
  extern "C" {
  
  	PB_FUNCTION(Urho3D::StaticModel*) uh3_getStaticModel(Urho3D::Node* node, int recursive);
  
  	PB_FUNCTION(void) uh3_SetStaticModel(Urho3D::StaticModel* node, Urho3D::Model* model);
  
  	PB_FUNCTION(void) uh3_SetStaticModelMaterial(Urho3D::StaticModel* node, Urho3D::Material* material);
  	
  	PB_FUNCTION(void) uh3_SetStaticModelCastShadow(Urho3D::StaticModel* node, int enable);
  
  	PB_FUNCTION(int) uh3_GetStaticModelCastShadow(Urho3D::StaticModel* node);
  
  	PB_FUNCTION(void) uh3_SetStaticModelViewMask(Urho3D::StaticModel* node, unsigned int mask);
  
  	PB_FUNCTION(unsigned int) uh3_GetStaticModelViewMask(Urho3D::StaticModel* node);
  
  }
  
  
  #endif 