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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user