viral-viewer-2 2.8.1 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75486,7 +75486,7 @@ function workerFunction() {
|
|
|
75486
75486
|
if (geometry !== null) {
|
|
75487
75487
|
const precisionPoints = 4;
|
|
75488
75488
|
const precision = Math.pow(10, precisionPoints);
|
|
75489
|
-
const thresholdDot = Math.cos(
|
|
75489
|
+
const thresholdDot = Math.cos(DEG2RAD * thresholdAngle);
|
|
75490
75490
|
const indexAttr = geometry.getIndex();
|
|
75491
75491
|
const positionAttr = geometry.getAttribute('position');
|
|
75492
75492
|
const indexCount = indexAttr ? indexAttr.count : positionAttr.count;
|