Commit 6a4282cb authored by Ken Martin's avatar Ken Martin
Browse files

just some helpful changes try to keep w in homo to one

parent 0432311c
......@@ -351,6 +351,15 @@ void vtkRenderer::ViewToWorld()
// Get the transformed vector & set WorldPoint
// while we are at it try to keep w at one
if (result[3])
result[0] /= result[3];
result[1] /= result[3];
result[2] /= result[3];
result[3] = 1;
Supports Markdown
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