Allolib
1.0
C++ Components For Interactive Multimedia
|
Viewpoint within a scene. More...
Public Types | |
enum | SpecialType { IDENTITY , ORTHO_FOR_2D , UNIT_ORTHO , UNIT_ORTHO_INCLUSIVE } |
Public Member Functions | |
Viewpoint (Pose &p) | |
const Lens & | lens () const |
Lens & | lens () |
Viewpoint & | lens (Lens const &v) |
const Pose & | pose () const |
Pose & | pose () |
Viewpoint & | pose (Pose &p) |
Matrix4f | viewMatrix () const |
Matrix4f | projMatrix (float aspect_ratio) const |
Matrix4f | projMatrix (float width, float height) const |
Viewpoint within a scene.
A viewpoint is an aggregation of a lens with a pointer to the pose (3D pos and orientation) that it is attached to
Definition at line 92 of file al_Viewpoint.hpp.