fixed cloth problem
This commit is contained in:
@@ -530,7 +530,7 @@ void Object::analyseClthChunks(Modl * dataDestination, std::list<ChunkHeader*>&
|
||||
std::vector<uint32_t> tempPoly;
|
||||
|
||||
// for every triangle..
|
||||
for (unsigned int i = 0; i < tempSize; i += 3)
|
||||
for (unsigned int i = 0; i < tempSize * 3; i += 3)
|
||||
{
|
||||
tempPoly.clear();
|
||||
|
||||
|
@@ -18,7 +18,7 @@ int main(int argc, char** argv)
|
||||
scene = OpenGLController::getInstance();
|
||||
|
||||
#ifdef _DEBUG
|
||||
scene->loadMsh("..\\Release\\Msh\\quadPoly.msh");
|
||||
scene->loadMsh("..\\Release\\Msh\\triClothMan.msh");
|
||||
#endif // DEBUG
|
||||
|
||||
do {
|
||||
|
Reference in New Issue
Block a user