|
#include <GLutils.h>
Inheritance diagram for ModelviewMatrix:
Public Methods | |
void | translate (double x, double y, double z) |
This does what glTranslate does. | |
void | lookAt (Vertex3d COP, Vertex3d lookatPoint, ColVector3d upVector) |
This does what gluLookAt does. | |
void | lookAtWithOffset (Vertex3d COP, Vertex3d lookatPoint, ColVector3d upVector, double latitude, double longitude) |
Look at one place, from another, but first orbit the camera around the lookAtPoint by an amount designated by polar coordinates phi and theta. More... |
This code was adapted from SGI's reference implementation of OpenGL, namely their functions "gluLookAt" and "glTranslate."
Definition at line 54 of file GLutils.h.
|
Look at one place, from another, but first orbit the camera around the lookAtPoint by an amount designated by polar coordinates phi and theta.
Definition at line 228 of file GLutils.cpp. Referenced by Scanner::drawWithAngle(). |