adjust boundingbox (only for SINF)
use else if
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user