Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
DrawArgs Struct Reference

#include <SceneFBO.hpp>

Public Member Functions

 DrawArgs (double _time, double _timeDelta, mat4 const *_projectionMatrix, mat4 const *_viewMatrix)
 

Public Attributes

double time
 
double timeDelta
 
mat4 const * projectionMatrix
 
mat4 const * viewMatrix
 

Detailed Description

Holds arguments needed for drawing

Definition at line 8 of file SceneFBO.hpp.

Constructor & Destructor Documentation

DrawArgs ( double  _time,
double  _timeDelta,
mat4 const *  _projectionMatrix,
mat4 const *  _viewMatrix 
)
inline

Constructs a DrawAgrs-object. Passed values are just stored.

Parameters
_timeThe absolute frame-time
_timeDeltaThe time since the last frame
_projectionMatrixA pointer to the projection-matrix
_viewMatrixA pointer to the view-matrix

Definition at line 24 of file SceneFBO.hpp.

Member Data Documentation

mat4 const* projectionMatrix

A pointer to the projection-matrix

Definition at line 12 of file SceneFBO.hpp.

double time

The absolute frame-time

Definition at line 10 of file SceneFBO.hpp.

double timeDelta

The time since the last frame

Definition at line 11 of file SceneFBO.hpp.

mat4 const* viewMatrix

A pointer to the view-matrix

Definition at line 13 of file SceneFBO.hpp.


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