From 20c6e0fe72ddb031c2c74a1c036bde73846c5b56 Mon Sep 17 00:00:00 2001
From: Adrian Mariano <avm4@cornell.edu>
Date: Sat, 21 Mar 2020 09:18:39 -0400
Subject: [PATCH] Fixed bug: vquant no longer exists!

---
 polyhedra.scad | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/polyhedra.scad b/polyhedra.scad
index 9e10b50..f64dab2 100644
--- a/polyhedra.scad
+++ b/polyhedra.scad
@@ -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]]]