Skip to content

Commit 8c6f597

Browse files
jmannaufloryst
authored andcommitted
docs: fix typo and update comment based on PR review
1 parent 47e308e commit 8c6f597

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

Sources/Rendering/OpenGL/ImageMapper/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,9 +1320,9 @@ function vtkOpenGLImageMapper(publicAPI, model) {
13201320
ptsArray[11] = sliceDepth;
13211321
if( sliceOffset === 0 ) {
13221322
// If the sliceOffset is 0, the scalars array is a view of the
1323-
// original scalars array. As a micro-optimzation, we can get the
1324-
// range from the original scalars array. and set the range to the
1325-
// scalars array. This means there is not need to re-calculate the
1323+
// original scalars array. As a micro-optimization, we can get the
1324+
// range from the original scalars array and set the range to the
1325+
// scalars array. This means there is no need to re-calculate the
13261326
// ranges for the scalars array.
13271327
ranges = []
13281328
for( let i = 0; i < numComp; i++ ) {

0 commit comments

Comments
 (0)