candlewick 0.1.0
A renderer
|
Functions | |
Camera control functions. | |
These functions are meant for modifying a camera's pose and view. | |
void | localRotateXAroundOrigin (Camera &camera, Radf angle) |
Rotate around the origin in the local X-axis. | |
void | rotateAroundPoint (Camera &camera, const Mat3f &R, const Float3 &p=Float3::Zero()) |
void | rotateZAroundPoint (Camera &camera, Radf angle, const Float3 &p) |
Rotate the camera around the center by a given increment. | |
void | localTranslate (Camera &camera, const Float3 &tr) |
void | localTranslateX (Camera &camera, float step) |
void | localTranslateZ (Camera &camera, float step) |
void | worldTranslate (Camera &camera, const Float3 &tr) |
void | worldTranslateZ (Camera &camera, float step) |
void | setWorldPosition (Camera &camera, const Float3 &pos) |
Rotate around the origin in the local X-axis.
|
inline |
|
inline |
void candlewick::camera_util::rotateAroundPoint | ( | Camera & | camera, |
const Mat3f & | R, | ||
const Float3 & | p = Float3::Zero() ) |
|
inline |
Rotate the camera around the center by a given increment.
|
inline |