Skip to content

Commit 8a09ccd

Browse files
committed
Added comment
1 parent 5d37b54 commit 8a09ccd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/traces/pointcloud/convert.js

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ proto.updateFast = function(options) {
9696
if(xy) {
9797

9898
positions = xy;
99+
100+
// dividing xy.length by 2 and truncating to integer if xy.length was not even
99101
len = xy.length >>> 1;
100102

101103
if(userBounds) {

0 commit comments

Comments
 (0)