From 4fabc168efee0256ca243f004ef72e236e5042b1 Mon Sep 17 00:00:00 2001 From: Kenneth Moreland Date: Wed, 3 Jan 2024 17:42:59 -0500 Subject: [PATCH] add this-> --- vtkm/rendering/Mapper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {