Skip to content

Commit 46f2bb2

Browse files
jmannaufloryst
authored andcommitted
docs: Update comment and fix typo
1 parent 934916d commit 46f2bb2

File tree

1 file changed

+2
-3
lines changed
  • Sources/Rendering/OpenGL/ImageMapper

1 file changed

+2
-3
lines changed

Sources/Rendering/OpenGL/ImageMapper/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,9 +1238,8 @@ function vtkOpenGLImageMapper(publicAPI, model) {
12381238
const basicScalars = imgScalars.getData();
12391239
let scalars = null;
12401240
/**
1241-
* if available, used to store the range of the scalars array. If
1242-
* available, pre-setting the scalras range can prevent it being
1243-
* calculated again.
1241+
* Used to store the range of the scalars array, if available. Pre-setting
1242+
* the scalars range can prevent it being calculated again.
12441243
*
12451244
* @type{ import("../../../interfaces").vtkRange[]|undefined }
12461245
**/

0 commit comments

Comments
 (0)