candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
CameraControls.h File Reference
#include "Camera.h"

Go to the source code of this file.

Classes

struct  candlewick::CylindricalCamera
 

Namespaces

namespace  candlewick
 
namespace  candlewick::camera_util
 

Functions

Camera control functions.

These functions are meant for modifying a camera's pose and view.

void candlewick::camera_util::localRotateXAroundOrigin (Camera &camera, Radf angle)
 Rotate around the origin in the local X-axis.
 
void candlewick::camera_util::rotateAroundPoint (Camera &camera, const Mat3f &R, const Float3 &p=Float3::Zero())
 
void candlewick::camera_util::rotateZAroundPoint (Camera &camera, Radf angle, const Float3 &p)
 Rotate the camera around the center by a given increment.
 
void candlewick::camera_util::localTranslate (Camera &camera, const Float3 &tr)
 
void candlewick::camera_util::localTranslateX (Camera &camera, float step)
 
void candlewick::camera_util::localTranslateZ (Camera &camera, float step)
 
void candlewick::camera_util::worldTranslate (Camera &camera, const Float3 &tr)
 
void candlewick::camera_util::worldTranslateZ (Camera &camera, float step)
 
void candlewick::camera_util::setWorldPosition (Camera &camera, const Float3 &pos)