mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 08:19:36 +00:00
Fixed bug: vquant no longer exists!
This commit is contained in:
parent
686b79d568
commit
20c6e0fe72
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ function _facenormal(pts, face) = unit(cross(pts[face[2]]-pts[face[0]], pts[face
|
|||
|
||||
function _full_faces(pts,faces) =
|
||||
let(
|
||||
normals = [for(face=faces) vquant(_facenormal(pts,face),1e-12)],
|
||||
normals = [for(face=faces) quant(_facenormal(pts,face),1e-12)],
|
||||
groups = _unique_groups(normals),
|
||||
faces = [for(entry=groups) unique(flatten(select(faces, entry)))],
|
||||
facenormals = [for(entry=groups) normals[entry[0]]]
|
||||
|
|
Loading…
Reference in a new issue