ugprade threejs and comment out computeFaceNormals calls
This commit is contained in:
parent
fb995802e0
commit
9ed88bb938
6 changed files with 10 additions and 12 deletions
|
|
@ -290,7 +290,7 @@
|
|||
{x: width/2, z: depth/2, y: maxz},
|
||||
{x: -width/2, z: depth/2, y: maxz},
|
||||
];
|
||||
SCENE.add(volume = makeLinesFromPoints(points, 0x888888));
|
||||
SCENE.add(volume = makeLinesFromPoints(points, 0xdddddd));
|
||||
showVolume(volumeOn);
|
||||
}
|
||||
}
|
||||
|
|
@ -739,9 +739,7 @@
|
|||
vrt[vi++] = p.z;
|
||||
}
|
||||
geo.setAttribute('position', new THREE.BufferAttribute(vrt, 3));
|
||||
return new THREE.LineSegments(geo, new THREE.LineBasicMaterial({
|
||||
color: color
|
||||
}));
|
||||
return new THREE.LineSegments(geo, new THREE.LineBasicMaterial({ color }));
|
||||
}
|
||||
|
||||
function intersect(objects, recurse) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue