import_ptx.h:

- added support for double scalar type
This commit is contained in:
granzuglia 2014-08-09 09:43:24 +00:00
parent ce65164b58
commit dd19843fe1
1 changed files with 3 additions and 2 deletions

View File

@ -434,8 +434,9 @@ public:
tri::Clean<OpenMeshType>::RemoveUnreferencedVertex(m);
}
}
Matrix44x tr; tr.Import(currtrasf);
tri::UpdatePosition<OpenMeshType>::Matrix(m,currtrasf,true);
Matrix44x tr;
tr.Import(currtrasf);
tri::UpdatePosition<OpenMeshType>::Matrix(m,tr,true);
tri::Allocator<OpenMeshType>::CompactVertexVector(m);
tri::UpdateBounding<OpenMeshType>::Box(m);
if(cb) cb(100,"PTX Mesh Loading finished!");