@kitware/vtk.js 25.1.0 → 25.1.1

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.
@@ -255,7 +255,7 @@ export interface vtkVolumeProperty extends vtkObject {
255
255
  * @param {Boolean} index
256
256
  * @param {Number} value
257
257
  */
258
- setUseGradientOpacity(index: boolean, value: number): boolean;
258
+ setUseGradientOpacity(index: number, value: boolean): boolean;
259
259
 
260
260
  /**
261
261
  *
@@ -271,7 +271,7 @@ function widgetBehavior(publicAPI, model) {
271
271
 
272
272
  var displayPlaneNormalPoint = (_model$_apiSpecificRe4 = model._apiSpecificRenderWindow).worldToDisplay.apply(_model$_apiSpecificRe4, _toConsumableArray(planeNormalPoint).concat([model._renderer]));
273
273
 
274
- var displayPlaneNormal = vtkMath.subtract(displayPlaneNormalPoint, displayPlaneOrigin); // Project view plane into bounding box
274
+ var displayPlaneNormal = vtkMath.subtract(displayPlaneNormalPoint, displayPlaneOrigin, []); // Project view plane into bounding box
275
275
 
276
276
  var largeDistance = 10 * vtkBoundingBox.getDiagonalLength(displayBounds);
277
277
  vtkPlane.projectPoint(vtkBoundingBox.getCenter(displayBounds), displayPlaneOrigin, displayPlaneNormal, planeOrigin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "25.1.0",
3
+ "version": "25.1.1",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",