Skip to content

Commit

Permalink
fox offset
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schuetz committed Jun 20, 2018
1 parent 7e836c0 commit eaa9883
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RegionsFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,6 @@ class RegionsFilter{
async filterPointcloud(pointcloud, outPath){
let start = now();

let promises = [];

let {metadata, boundingBox, attributes, visibleNodes} = pointcloud;

let inside = 0;
Expand All @@ -429,6 +427,7 @@ class RegionsFilter{
lasHeader.scale = metadata.scale;
lasHeader.min = boundingBox.min.toArray();
lasHeader.max = boundingBox.max.toArray();
lasHeader.offset = boundingBox.min.toArray();

wstream.write(lasHeader.toBuffer());

Expand Down

0 comments on commit eaa9883

Please sign in to comment.