Remove unused fields from Ortho2DRayGen

There were apparently some fields copy/pasted from the 3D version were
not used in the 2D version (probably because they had no meaning). In
one case, one was erroneously normalized, and could cause a floating
point exception.
This commit is contained in:
Kenneth Moreland 2021-07-12 08:06:51 -06:00
parent c1a790db2d
commit 83369ed95a

@ -237,9 +237,7 @@ public:
vtkm::Int32 Minx;
vtkm::Int32 Miny;
vtkm::Int32 SubsetWidth;
vtkm::Vec3f_32 nlook; // normalized look
vtkm::Vec3f_32 PixelDelta;
vtkm::Vec3f_32 delta_y;
vtkm::Vec3f_32 StartOffset;
VTKM_CONT
@ -279,9 +277,6 @@ public:
StartOffset[1] = startOffset[1];
// always push the rays back from the origin
StartOffset[2] = -1.f;
vtkm::Normalize(nlook);
}
using ControlSignature =