pgl
PrimitiveOpenGL3Dprimitivelibrary
Public Member Functions | Public Attributes | List of all members
pgl::Controller Class Referenceabstract

Camera controller. More...

#include <pgl.h>

Inheritance diagram for pgl::Controller:
Inheritance graph
[legend]
Collaboration diagram for pgl::Controller:
Collaboration graph
[legend]

Public Member Functions

 Controller (Camera *_camera)
 
virtual void click (int button, int action, int mods, double xpos, double ypos)=0
 Click handler.
 
virtual void scroll (double xoffset, double yoffset)=0
 Scroll wheel handler.
 
virtual void motion (double xpos, double ypos)=0
 Mouse motion handler.
 

Public Attributes

Cameracamera
 Camera to move.
 

Detailed Description

Camera controller.

Allows user interaction to move a Camera.


The documentation for this class was generated from the following file: