group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
NewCamera Class Reference

#include <Camera.hpp>

Public Member Functions

 NewCamera ()
 
void setAspect (float width, float height)
 
void setFov (float fovyDegrees)
 
void setZNear (float zNear)
 
void setZFar (float zFar)
 
void setEye (glm::vec3 eye)
 
void setTarget (float pitch, float yaw, float roll)
 
void setUp (glm::vec3 up)
 
void computeViewProjectionMatrix ()
 
glm::mat4 getViewProjectionMatrix () const
 Return the combined view-projection matrix.
 

Constructor & Destructor Documentation

◆ NewCamera()

NewCamera::NewCamera ( )
Here is the call graph for this function:

Member Function Documentation

◆ computeViewProjectionMatrix()

void NewCamera::computeViewProjectionMatrix ( )
Here is the caller graph for this function:

◆ getViewProjectionMatrix()

glm::mat4 NewCamera::getViewProjectionMatrix ( ) const
inline

Return the combined view-projection matrix.

Here is the caller graph for this function:

◆ setAspect()

void NewCamera::setAspect ( float  width,
float  height 
)
Here is the caller graph for this function:

◆ setEye()

void NewCamera::setEye ( glm::vec3  eye)
Here is the caller graph for this function:

◆ setFov()

void NewCamera::setFov ( float  fovyDegrees)

◆ setTarget()

void NewCamera::setTarget ( float  pitch,
float  yaw,
float  roll 
)
Here is the caller graph for this function:

◆ setUp()

void NewCamera::setUp ( glm::vec3  up)

◆ setZFar()

void NewCamera::setZFar ( float  zFar)

◆ setZNear()

void NewCamera::setZNear ( float  zNear)

The documentation for this class was generated from the following files: