DubiousEngine  0.2.0
Simple Game Engine
Dubious::Renderer::Open_gl_matrix Class Reference

Open GL Matrix. More...

#include <Open_gl_matrix.h>

Public Member Functions

 Open_gl_matrix ()
 calls push matrix More...
 
 Open_gl_matrix (const Open_gl_matrix &)=delete
 
 ~Open_gl_matrix ()
 calls pop matrix More...
 
Open_gl_matrixoperator= (const Open_gl_matrix &)=delete
 

Static Public Member Functions

static void load_identity ()
 loads the identity matrix More...
 
static void matrix_mode (int mode)
 glMatrixMode More...
 

Detailed Description

Open GL Matrix.

This class is a safe way to make sure your OpenGL Matrix pushes and pops line up.

Constructor & Destructor Documentation

Dubious::Renderer::Open_gl_matrix::Open_gl_matrix ( )

calls push matrix

Dubious::Renderer::Open_gl_matrix::Open_gl_matrix ( const Open_gl_matrix )
delete
Dubious::Renderer::Open_gl_matrix::~Open_gl_matrix ( )

calls pop matrix

Member Function Documentation

void Dubious::Renderer::Open_gl_matrix::load_identity ( )
static

loads the identity matrix

void Dubious::Renderer::Open_gl_matrix::matrix_mode ( int  mode)
static

glMatrixMode

Open_gl_matrix& Dubious::Renderer::Open_gl_matrix::operator= ( const Open_gl_matrix )
delete

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