kick
|
00001 // 00002 // assimp.h 00003 // KickCPP 00004 // 00005 // Created by Morten Nobel-Jørgensen on 12/25/14. 00006 // Copyright (c) 2014 Morten Nobel-Joergensen. All rights reserved. 00007 // 00008 00009 #pragma once 00010 00011 #ifndef NO_ASSIMP 00012 00013 00014 #include <string> 00015 #include "kick/scene/scene.h" 00016 00017 namespace kick { 00018 00019 struct AssImpSettings { 00020 //bool animations = true; 00021 bool textures = true; 00022 bool lights = true; 00023 bool cameras = true; 00024 bool meshes = true; 00025 bool materials = true; 00026 }; 00027 00028 class AssImp{ 00029 public: 00030 static bool importData(std::string filename, Scene * scene, AssImpSettings importSettings = AssImpSettings{}); 00031 }; 00032 } 00033 #endif