add option to load normals with model
This commit is contained in:
parent
4916a055eb
commit
098fd9bb7e
4 changed files with 11 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue