@kitware/vtk.js 30.9.1 → 30.9.3

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.
@@ -160,11 +160,6 @@ export interface vtkProperty extends vtkObject {
160
160
  */
161
161
  getRepresentationAsString(): string;
162
162
 
163
- /**
164
- * Check if the shading is set.
165
- */
166
- getShading(): boolean;
167
-
168
163
  /**
169
164
  * Get the specular lighting coefficient.
170
165
  * @default 0
@@ -443,12 +438,6 @@ export interface vtkProperty extends vtkObject {
443
438
  */
444
439
  setRepresentationToWireframe(): boolean;
445
440
 
446
- /**
447
- * Enable/Disable shading.
448
- * @param {Boolean} shading
449
- */
450
- setShading(shading: boolean): boolean;
451
-
452
441
  /**
453
442
  * Set the specular lighting coefficient.
454
443
  * @param {Boolean} specular
@@ -326,7 +326,7 @@ function vtkOpenGLCellArrayBufferObject(publicAPI, model) {
326
326
  // Browse the cell array: the index is at the beginning of a cell
327
327
  // The value of 'array' at the position 'index' is the number of points in the cell
328
328
  for (let index = 0; index < size; index += array[index] + 1, cellCount++) {
329
- func(array[index], array, index + 1, cellCount);
329
+ func(array[index], array, index + 1, cellCount + options.cellOffset);
330
330
  }
331
331
  model.elementCount = caboCount;
332
332
  publicAPI.upload(packedVBO, ObjectType.ARRAY_BUFFER);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "30.9.1",
3
+ "version": "30.9.3",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",