remove minion-based cam slicing
This commit is contained in:
parent
db13a61d3b
commit
883bf90091
5 changed files with 5 additions and 85 deletions
|
|
@ -16,7 +16,7 @@ gapp.overlay(base, {
|
|||
|
||||
/**
|
||||
* converts a geometry point array into a kiri point array
|
||||
* with auto-decimation
|
||||
* with optional decimation
|
||||
*/
|
||||
function verticesToPoints(array, options) {
|
||||
let parr = new Array(array.length / 3),
|
||||
|
|
@ -49,7 +49,7 @@ function verticesToPoints(array, options) {
|
|||
// maxpass = max number of decimations
|
||||
threshold = threshold > 0 ? threshold : config.decimate_threshold;
|
||||
precision = precision >= 0 ? precision : config.precision_decimate;
|
||||
maxpass = maxpass >= 0 ? maxpass : 10;
|
||||
maxpass = maxpass >= 0 ? maxpass : 0;
|
||||
|
||||
// decimate until all point spacing > precision
|
||||
if (maxpass && precision > 0.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue