This UI for gluLookAt() is a subclass of Fl_Group.
The sliders respond to a SHIFT-CLICK with enhanced behavior:
- The sliders for scaling X, Y, and Z
snap to their default value of 1.
- The sliders for shifting X and Y
snap to their default value of 0.
- The sliders for latitude and longitude
snap to multiples of 30 degrees.
- The rotation dial snaps to multiples of 90 degrees.
This short video demonstrates the functionality. The effects
of a shift-click are shown at the end.
(Try this if embedded video
does not appear).
Creates a new Fl_GlCam widget.
void apply(double X, double Y, double Z, double aspectRatio=1)
Sets up the model view and projection view so that the point
(X, Y, Z) is seen from the vantage indicated by the widget.