@kitware/vtk.js 24.16.6 → 24.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -132,11 +132,7 @@ function vtkOBBTree(publicAPI, model) {
|
|
|
132
132
|
|
|
133
133
|
for (var _i2 = 0; _i2 < 3; _i2++) {
|
|
134
134
|
for (var _j2 = 0; _j2 < 3; _j2++) {
|
|
135
|
-
a[_i2][_j2] = a[_i2][_j2] / totMass - mean[_i2] * mean[_j2];
|
|
136
|
-
|
|
137
|
-
if (Math.abs(a[_i2][_j2]) < 1e-12) {
|
|
138
|
-
a[_i2][_j2] = 0;
|
|
139
|
-
}
|
|
135
|
+
a[_i2][_j2] = a[_i2][_j2] / totMass - mean[_i2] * mean[_j2];
|
|
140
136
|
}
|
|
141
137
|
} //
|
|
142
138
|
// Extract axes (i.e., eigenvectors) from covariance matrix.
|