diff --git a/vtkm/rendering/Mapper.cxx b/vtkm/rendering/Mapper.cxx index 99926932f..2f645c5f2 100644 --- a/vtkm/rendering/Mapper.cxx +++ b/vtkm/rendering/Mapper.cxx @@ -65,7 +65,8 @@ struct CompareIndices { if (this->SortBackToFront) { - return (vtkm::Dot(Centers[i], CameraDirection) > vtkm::Dot(Centers[j], CameraDirection)); + return (vtkm::Dot(this->Centers[i], this->CameraDirection) > + vtkm::Dot(this->Centers[j], this->CameraDirection)); } else {