mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Fixing unreachable statement nvcc warning
This commit is contained in:
parent
2798c737a2
commit
39e278cf0b
@ -88,10 +88,11 @@ public:
|
||||
inside = false;
|
||||
if (point[1] < this->MinPoint[1] || point[1] > this->MaxPoint[1])
|
||||
inside = false;
|
||||
if (dimensions == 2)
|
||||
return inside;
|
||||
if (point[2] < this->MinPoint[2] || point[2] > this->MaxPoint[2])
|
||||
inside = false;
|
||||
if (dimensions == 3)
|
||||
{
|
||||
if (point[2] < this->MinPoint[2] || point[2] > this->MaxPoint[2])
|
||||
inside = false;
|
||||
}
|
||||
return inside;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user