Skip to content

Commit c03e86e

Browse files
rodrigobasilio2022finetjul
authored andcommitted
refactor(picker): Refactor point picker function
1 parent f5ec0be commit c03e86e

File tree

1 file changed

+1
-1
lines changed
  • Sources/Rendering/Core/PointPicker

1 file changed

+1
-1
lines changed

Sources/Rendering/Core/PointPicker/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function vtkPointPicker(publicAPI, model) {
1212
// Set our className
1313
model.classHierarchy.push('vtkPointPicker');
1414

15-
publicAPI.intersectWithLine = (p1, p2, tol, mapper) => {
15+
publicAPI.intersectWithLine = (p1, p2, tol, actor, mapper) => {
1616
let tMin = Number.MAX_VALUE;
1717

1818
if (mapper.isA('vtkImageMapper') || mapper.isA('vtkImageArrayMapper')) {

0 commit comments

Comments
 (0)