Skip to content

Commit 282a913

Browse files
authored
Update RayTracing_In_One_Weekend.js
1 parent 7cc8a95 commit 282a913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/RayTracing_In_One_Weekend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ function updateVariablesAndUniforms()
352352
shape.updateMatrixWorld(true); // 'true' forces immediate matrix update
353353
// if this shape is a Box, use THREE.BoxGeometry as starting point for this shape's AABB
354354
//if (shape_array[ix32 + 16] == 0)
355-
boxGeometries[i] = new THREE.BoxGeometry(2, 6, 2);
355+
boxGeometries[i] = new THREE.BoxGeometry(4, 5, 4);
356356
//else // else use THREE.SphereGeometry, as it produces a tighter-fitting AABB when shape is rotated
357357
// boxGeometries[i] = new THREE.SphereGeometry(1.4);
358358

0 commit comments

Comments
 (0)