add pref for normals length and color

This commit is contained in:
Stewart Allen 2022-02-25 13:56:09 -05:00
commit f334ae797b
7 changed files with 90 additions and 14 deletions

View file

@ -358,7 +358,7 @@ mesh.model = class MeshModel extends mesh.object {
this._norm = undefined;
}
if (bool) {
this.mesh.add(this._norm = mesh.util.faceNormals(this.mesh, { size: 0.5 }));
this.mesh.add(this._norm = mesh.util.faceNormals(this.mesh));
}
}