add option to load normals with model

This commit is contained in:
Stewart Allen 2022-01-05 09:29:27 -05:00
commit 098fd9bb7e
4 changed files with 11 additions and 18 deletions

View file

@ -59,9 +59,7 @@ let model = {
dbug.log('...healed');
dbug.log(tool);
return true || tool.newFaces ? {
vertices: tool.unrolled(),
// v: tool.vertices,
// f: tool.faces.map(f => f/3)
vertices: tool.unrolled().toFloat32(),
} : 0;
}
};