checkpoint trace work. wide cutout now does interiors
This commit is contained in:
parent
df99a22c0b
commit
7777ea6932
7 changed files with 63 additions and 41 deletions
|
|
@ -15,7 +15,8 @@
|
|||
SQRT = Math.sqrt,
|
||||
SQR = UTIL.sqr,
|
||||
NOKEY = BASE.key.NONE,
|
||||
newPoint = BASE.newPoint;
|
||||
newPoint = BASE.newPoint,
|
||||
numOrDefault = UTIL.numOrDefault;
|
||||
|
||||
BASE.polygons = {
|
||||
rayIntersect,
|
||||
|
|
@ -46,10 +47,6 @@
|
|||
* Polygon array utility functions
|
||||
******************************************************************* */
|
||||
|
||||
function numOrDefault(num, def) {
|
||||
return num !== undefined ? num : def;
|
||||
}
|
||||
|
||||
function setZ(polys, z) {
|
||||
polys.forEach(p => p.setZ(z));
|
||||
return polys;
|
||||
|
|
|
|||
Loading…
Reference in a new issue