Commit 90fe187b authored by Sean McBride's avatar Sean McBride

Moved unused D2R and R2D macros into comment

They are only used in commented out code.
Moved into comment.
(Really this should use vtkMath anyway.)
Found this dead code using -Wunused-macros.

Change-Id: I4f4af4c6228455c4663ca8c603d4a053d36cff1b
parent 5fb07a08
......@@ -530,14 +530,14 @@ void vtkInteractorStyleFlight::UpdateMouseSteering(vtkCamera *cam)
*/
}
#define D2R 0.01745329251994329576923690768 // degrees to radians
#define R2D 57.2957795130823208767981548141 // radians to degrees
// We know the ideal and actual focal points. We now want to reduce these
// to a 2D Yaw+Pitch form so that we can smooth the motion on each
void vtkInteractorStyleFlight::UpdateSteering(vtkCamera *vtkNotUsed(cam))
{
/*
#define D2R 0.01745329251994329576923690768 // degrees to radians
#define R2D 57.2957795130823208767981548141 // radians to degrees
Not happy with smooth flight yet, please levae this code here
until I get around to experimenting : JB July 2002
......
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