removed unused information from texture,

don't copy the data, give a pointer,
there is some data left, need to find out if it's from these changes
This commit is contained in:
Anakin
2016-11-24 19:40:17 +01:00
parent 97a38d5260
commit e1e8e165fe
4 changed files with 38 additions and 42 deletions

View File

@@ -329,6 +329,21 @@ void Object::analyseGeomChunks(Modl * dataDestination, std::list<ChunkHeader*>&
{
for (std::list<ChunkHeader*>::iterator it = chunkList.begin(); it != chunkList.end(); it++)
{
if (!strcmp("BBOX", (*it)->name))
{
fsMesh.seekg((*it)->position);
std::uint32_t tempValue;
fsMesh.read(reinterpret_cast<char*>(&tempValue), sizeof(tempValue));
/*
float[4] 16 Quaternion Rotation in XYZW.
float[3] 12 Center of the BBox.
float[3] 12 Extents of the BBox(width / 2, height / 2, depth / 2).
float 4 Bounding sphere radius.*/
continue;
}
if (!strcmp("SEGM", (*it)->name))
{
// get all subchunks