Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Member Functions | Public Attributes | List of all members
jop::Drawable::ProjectionInfo Struct Reference

#include <Drawable.hpp>

Public Member Functions

 JOP_DISALLOW_COPY_MOVE (ProjectionInfo)
 
 ProjectionInfo (const glm::mat4 &view, const glm::mat4 &proj, const glm::vec3 &camPos)
 Constructor. More...
 

Public Attributes

const glm::mat4 & viewMatrix
 View matrix. More...
 
const glm::mat4 & projectionMatrix
 Projection matrix. More...
 
const glm::vec3 & cameraPosition
 Camera position. More...
 

Detailed Description

Projection info

Definition at line 81 of file Drawable.hpp.

Constructor & Destructor Documentation

jop::Drawable::ProjectionInfo::ProjectionInfo ( const glm::mat4 &  view,
const glm::mat4 &  proj,
const glm::vec3 &  camPos 
)

Constructor.

Parameters
viewThe view matrix
projThe projection matrix
camPosThe camera position

Member Function Documentation

jop::Drawable::ProjectionInfo::JOP_DISALLOW_COPY_MOVE ( ProjectionInfo  )

Member Data Documentation

const glm::vec3& jop::Drawable::ProjectionInfo::cameraPosition

Camera position.

Definition at line 97 of file Drawable.hpp.

const glm::mat4& jop::Drawable::ProjectionInfo::projectionMatrix

Projection matrix.

Definition at line 96 of file Drawable.hpp.

const glm::mat4& jop::Drawable::ProjectionInfo::viewMatrix

View matrix.

Definition at line 95 of file Drawable.hpp.


The documentation for this struct was generated from the following file: