@cornerstonejs/adapters 0.5.0 → 0.6.0

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.
@@ -4155,7 +4155,7 @@ var EllipticalROI = /** @class */ (function () {
4155
4155
  }
4156
4156
  var columnCosines = imagePlaneModule.columnCosines;
4157
4157
  // find which axis is parallel to the columnCosines
4158
- var columnCosinesVec = vec3.fromValues.apply(vec3, columnCosines);
4158
+ var columnCosinesVec = vec3.fromValues(columnCosines[0], columnCosines[1], columnCosines[2]);
4159
4159
  var projectedMajorAxisOnColVec = vec3.dot(columnCosinesVec, majorAxisVec);
4160
4160
  var projectedMinorAxisOnColVec = vec3.dot(columnCosinesVec, minorAxisVec);
4161
4161
  var absoluteOfMajorDotProduct = Math.abs(projectedMajorAxisOnColVec);