58 PathCamera(
const Vec3 &_up,
Vec3 const *_eyePoints,
int _nEyePoints,
Vec3 const *_lookPoints,
int _nLookPoints,
Real _step) noexcept;
76 void update() noexcept;
81 void updateLooped() noexcept;
85 void drawPaths()
const noexcept;
95 void createCurvesForDrawing(
int _lod ) noexcept;
Real m_step
the step for each update of the camera, the higher the number the smoother the movement ...
Generic Bezier Curve Class allowing the user to generate basic curves using a number of different con...
simple Vector class for OpenGL graphics, contains overloaded operators for most math functions...
Inherits from Camera and adds a path for both eye and look using two Bezier Curves.
simple Vec3 encapsulates a 3 float object like glsl vec3 but not maths use the Vec3 class for maths a...
implementation files for RibExport class
Real m_lookCurvePoint
the look path of the camera's current position value
PRECISION Real
create a variable called Real which is the main data type we use (GLfloat for most cases) ...
Real m_eyeCurvePoint
the eye path of the camera's current position value
BezierCurve m_eyePath
BezierCurve for the the eye positions.
simple camera class to allow movement in an opengl scene. a lot of this stuff is from the HILL book C...
DIRECTION m_dir
current direction of the camera
BezierCurve m_lookPath
BezierCurve for the look positions.
a simple camera class based on the Hill Book
DIRECTION
enumeration for the camera's direction
basic BezierCurve using CoxDeBoor algorithm
GLsizei const GLchar *const * string