|
@@ -251,7 +251,7 @@ const minMaxGUIHelper = new MinMaxGUIHelper(camera, 'near', 'far', 0.1);
|
|
|
const sphereRadius = 3;
|
|
|
const sphereWidthDivisions = 32;
|
|
|
const sphereHeightDivisions = 16;
|
|
|
- const sphereGeo = new THREE.SphereBufferGeometry(sphereRadius, sphereWidthDivisions, sphereHeightDivisions);
|
|
|
+ const sphereGeo = new THREE.SphereGeometry(sphereRadius, sphereWidthDivisions, sphereHeightDivisions);
|
|
|
const numSpheres = 20;
|
|
|
for (let i = 0; i < numSpheres; ++i) {
|
|
|
const sphereMat = new THREE.MeshPhongMaterial();
|
|
@@ -473,4 +473,4 @@ const planes = textures.map((texture) => {
|
|
|
|
|
|
|
|
|
|
|
|
-</body></html>
|
|
|
+</body></html>
|