viral-viewer-2 3.9.1 → 3.9.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.
|
@@ -34089,7 +34089,7 @@ which can be placed in CurveUtils.
|
|
|
34089
34089
|
childMesh.setMatrixAt(index, matrix4);
|
|
34090
34090
|
//if number of polygon smaller than expect, generate edges
|
|
34091
34091
|
if (geometry.attributes.position.count <= maxPolygonForEdge) {
|
|
34092
|
-
const edges = new EdgesGeometry(geometry,
|
|
34092
|
+
const edges = new EdgesGeometry(geometry, 10);
|
|
34093
34093
|
const positions = edges.attributes.position.array;
|
|
34094
34094
|
const indices = [];
|
|
34095
34095
|
for (let i = 0; i < positions.length / 3; i += 2) {
|
|
@@ -34125,7 +34125,7 @@ which can be placed in CurveUtils.
|
|
|
34125
34125
|
// }
|
|
34126
34126
|
geometry = mergeVertices(dummyGeometry);
|
|
34127
34127
|
geometry.computeVertexNormals();
|
|
34128
|
-
const edges = new EdgesGeometry(geometry,
|
|
34128
|
+
const edges = new EdgesGeometry(geometry, 10);
|
|
34129
34129
|
const positions = edges.attributes.position.array;
|
|
34130
34130
|
const indices = [];
|
|
34131
34131
|
for (let i = 0; i < positions.length / 3; i += 2) {
|