Wayverb
|
#include <scene.h>
Public Member Functions | |
view_state (const glm::vec3 &origin={0, 0, 0}, float eye_distance=1, const wayverb::core::az_el &az_el={0, 0}) | |
void | set_origin (const glm::vec3 &origin) |
glm::vec3 | get_origin () const |
void | set_eye_distance (float distance) |
float | get_eye_distance () const |
void | set_rotation (const wayverb::core::az_el &az_el) |
wayverb::core::az_el | get_rotation () const |
Holds all the stuff that defines how the view is rendered. We'll hold a 'master' one in the model, and a secondary one in the view that can be updated more regularly to ease/animate camera movements.