adjust boundingbox (only for SINF)

use else if
This commit is contained in:
Anakin
2016-11-30 17:05:39 +01:00
parent ef2c341a1a
commit 1c0ed61b34
2 changed files with 45 additions and 57 deletions

View File

@@ -39,7 +39,6 @@ struct Modl {
Mtyp type = null;
std::int32_t renderFlags = -1;
glm::mat4 m4x4Translation = glm::mat4(1.0f);
Bbox boundingBox;
std::vector<Segment*> segmLst;
};
@@ -55,6 +54,7 @@ private:
std::vector<Modl*>* vModls;
std::fstream fsMesh;
std::vector<std::string> vTextures;
Bbox boundingBox;
private:
void loadChunks(std::list<ChunkHeader*> &destination, std::streampos start, const std::uint32_t end);