Commit e0370357 authored by Matt Larsen's avatar Matt Larsen

removing unused variable

parent 5a1685d8
......@@ -84,8 +84,6 @@ public:
class Intersector : public vtkm::worklet::WorkletMapField
{
private:
bool Occlusion;
VTKM_EXEC
inline vtkm::Float32 rcp(vtkm::Float32 f) const { return 1.0f / f; }
VTKM_EXEC
......@@ -103,10 +101,7 @@ public:
public:
VTKM_CONT
Intersector(bool occlusion)
: Occlusion(occlusion)
{
}
Intersector() {}
using ControlSignature = void(FieldIn<>,
FieldIn<>,
FieldOut<>,
......@@ -237,7 +232,7 @@ public:
LeafIntersectorType& leafIntersector,
vtkm::cont::CoordinateSystem& coordsHandle)
{
vtkm::worklet::DispatcherMapField<Intersector> intersectDispatch(Intersector(false));
vtkm::worklet::DispatcherMapField<Intersector> intersectDispatch;
intersectDispatch.Invoke(rays.Dir,
rays.Origin,
rays.Distance,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment