MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
ViewTransform.hpp File Reference
#include <glm/gtc/matrix_transform.hpp>
+ Include dependency graph for ViewTransform.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MayaFlux::Kinesis::ViewTransform
 View and projection matrices as a named push constant slot. More...
 

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Kinesis
 

Functions

ViewTransform MayaFlux::Kinesis::look_at (const glm::vec3 &eye, const glm::vec3 &target, const glm::vec3 &up=glm::vec3(0.0F, 1.0F, 0.0F))
 Construct view matrix from eye position, target, and up vector.
 
ViewTransform MayaFlux::Kinesis::perspective (float fov_radians, float aspect, float near, float far)
 Construct perspective projection matrix.
 
ViewTransform MayaFlux::Kinesis::ortho (float left, float right, float bottom, float top, float near=-1.0F, float far=1.0F)
 Construct orthographic projection matrix.
 
ViewTransform MayaFlux::Kinesis::look_at_perspective (const glm::vec3 &eye, const glm::vec3 &target, float fov_radians, float aspect, float near, float far, const glm::vec3 &up=glm::vec3(0.0F, 1.0F, 0.0F))
 Construct complete ViewTransform from look-at and perspective parameters.