Fix missing pgg reference

This commit is contained in:
Oscar Martinez Rubi 2016-02-24 14:22:53 +01:00
parent dc639cd033
commit 692122271c

View File

@ -106,7 +106,7 @@ Potree.GreyhoundBinaryLoader.prototype.parse = function(node, buffer){
pointAttributes: pointAttributes,
version: this.version.version,
min: [ node.boundingBox.min.x, node.boundingBox.min.y, node.boundingBox.min.z ],
offset: [node.pcoGeometry.offset.x, node.pcoGeometry.offset.y, node.pcoGeometry.offset.z],
offset: [node.pggGeometry.offset.x, node.pggGeometry.offset.y, node.pggGeometry.offset.z],
scale: this.scale
};
ww.postMessage(message, [message.buffer]);