We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc8a95 commit 282a913Copy full SHA for 282a913
js/RayTracing_In_One_Weekend.js
@@ -352,7 +352,7 @@ function updateVariablesAndUniforms()
352
shape.updateMatrixWorld(true); // 'true' forces immediate matrix update
353
// if this shape is a Box, use THREE.BoxGeometry as starting point for this shape's AABB
354
//if (shape_array[ix32 + 16] == 0)
355
- boxGeometries[i] = new THREE.BoxGeometry(2, 6, 2);
+ boxGeometries[i] = new THREE.BoxGeometry(4, 5, 4);
356
//else // else use THREE.SphereGeometry, as it produces a tighter-fitting AABB when shape is rotated
357
// boxGeometries[i] = new THREE.SphereGeometry(1.4);
358
0 commit comments