class Fl_GlCam


Include Files

#include "Fl_GlCam.h"

Description

This UI for gluLookAt() is a subclass of Fl_Group.

The sliders respond to a SHIFT-CLICK with enhanced behavior:

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).


Methods

Fl_GlCam::Fl_GlCam()

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.