vim-format
Advanced tools
Comparing version 1.0.6-dev.127 to 1.0.6-dev.128
@@ -185,8 +185,12 @@ "use strict"; | ||
if (this._source instanceof g3dMeshIndex_1.G3dMeshIndex) { | ||
// To avoid including (0,0,0) | ||
let box = new Float32Array(6); | ||
// To avoid including (0,0,0) | ||
const min = this._source.getInstanceMin(this._instances[0]); | ||
const max = this._source.getInstanceMax(this._instances[0]); | ||
minBox(box, min); | ||
maxBox(box, max); | ||
box[0] = min[0]; | ||
box[1] = min[1]; | ||
box[2] = min[2]; | ||
box[3] = max[0]; | ||
box[4] = max[1]; | ||
box[5] = max[2]; | ||
for (let i = 1; i < this._instances.length; i++) { | ||
@@ -193,0 +197,0 @@ const instance = this._instances[i]; |
{ | ||
"name": "vim-format", | ||
"version": "1.0.6-dev.127", | ||
"version": "1.0.6-dev.128", | ||
"description": "The VIM format is a modern and efficient open 3D data interchange format designed for BIM and manufacturing data optimized for efficient loading and rendering on low-power devices.", | ||
@@ -5,0 +5,0 @@ "directories": { |
804545
18289