Skip to content

Commit

Permalink
Update voxelize.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Aug 5, 2024
1 parent 4f920a8 commit 9718501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/voxelize.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function* rebuildVoxels() {
ray.origin.copy( position ).applyMatrix4( invMat );

// If we hit a face backside we know we're inside the mesh. Alternatively we
// could check if we jot an odd number of faces when checking all intersections.
// could check if we hit an odd number of faces when checking all intersections.
const res = bvh.raycastFirst( ray, 2 );
if ( res && res.face.normal.dot( ray.direction ) > 0.0 ) {

Expand Down

0 comments on commit 9718501

Please sign in to comment.