Updated to reflect the naming changes in updateNormals
This commit is contained in:
parent
69000a6af7
commit
44b9b56c42
|
@ -65,10 +65,10 @@ static void Matrix(ComputeMeshType &m, const Matrix44<ScalarType> &M, bool updat
|
||||||
|
|
||||||
if(update_also_normals){
|
if(update_also_normals){
|
||||||
if(HasPerVertexNormal(m)){
|
if(HasPerVertexNormal(m)){
|
||||||
UpdateNormals<ComputeMeshType>::PerVertexMatrix(m,M);
|
UpdateNormal<ComputeMeshType>::PerVertexMatrix(m,M);
|
||||||
}
|
}
|
||||||
if(HasPerFaceNormal(m)){
|
if(HasPerFaceNormal(m)){
|
||||||
UpdateNormals<ComputeMeshType>::PerFaceMatrix(m,M);
|
UpdateNormal<ComputeMeshType>::PerFaceMatrix(m,M);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue