add this->

This commit is contained in:
Kenneth Moreland 2024-01-03 17:42:59 -05:00 committed by Roxana Bujack
parent 7c61aaca01
commit 4fabc168ef

@ -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
{