Skip to content

Commit

Permalink
Update BufferGeometry.js
Browse files Browse the repository at this point in the history
Clean up.
  • Loading branch information
Mugen87 authored Nov 25, 2024
1 parent b0956b8 commit 8207d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/BufferGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class BufferGeometry extends EventDispatcher {

const l = Math.min( points.length, positionAttribute.count ); // make sure data do not exceed buffer size

for ( let i = 0 ; i < l; i ++ ) {
for ( let i = 0; i < l; i ++ ) {

const point = points[ i ];
positionAttribute.setXYZ( i, point.x, point.y, point.z || 0 );
Expand Down

0 comments on commit 8207d35

Please sign in to comment.