viral-viewer-2 4.5.5 → 4.5.6
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.
|
@@ -34046,8 +34046,8 @@ which can be placed in CurveUtils.
|
|
|
34046
34046
|
let result = [];
|
|
34047
34047
|
for (let index = 0; index < json.Solids.length; index++) {
|
|
34048
34048
|
const element = json.Solids[index];
|
|
34049
|
-
let buffer = addMesh(element.Indices, element.Vertices);
|
|
34050
|
-
|
|
34049
|
+
// let buffer = addMesh(element.Indices, element.Vertices);
|
|
34050
|
+
const buffer = new Float32Array(element.Buffer);
|
|
34051
34051
|
let dummyGeometry = new BufferGeometry();
|
|
34052
34052
|
dummyGeometry.setAttribute("position", new BufferAttribute(buffer, 3));
|
|
34053
34053
|
let geometry = new BufferGeometry();
|