Refactoring

This commit is contained in:
iasonmanolas 2022-07-12 13:13:01 +03:00
parent 395bf92486
commit bed30a2bc4
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ polyscope::SurfaceMesh *VCGTriMesh::registerForDrawing(
const glm::vec3 desiredColor_glm(desiredColor.value()[0],
desiredColor.value()[1],
desiredColor.value()[2]);
polyscopeHandle_mesh->setSurfaceColor(glm::normalize(desiredColor_glm));
polyscopeHandle_mesh->setSurfaceColor(desiredColor_glm);
}
return polyscopeHandle_mesh;
}