My Project
BlockModelManager.h
1 #pragma once
2 
3 
4 namespace ParaEngine
5 {
6  class BlockModel;
7  namespace XFile{
8  struct Scene;
9  };
10 
12  {
13  public:
14 
17  static BlockModelManager& GetInstance();
18 
19  XFile::Scene* GetXFile(const std::string& filename);
20 
21  void Cleanup();
22  protected:
26  bool OptimizeRectFaceModelInPlace(XFile::Scene& scene);
27  void RemoveUntexturedFaces(XFile::Scene& scene);
28  protected:
29 
30  // static model files
31  std::map<std::string, XFile::Scene*> m_Xfiles;
32  };
33 }
34 
35 
Helper structure analogue to aiScene.
Definition: XFileHelper.h:123
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: BlockModelManager.h:11