Cafu Engine
Renderer3DT::UseOrthoMatricesT Class Reference

A helper class that temporarily sets up the matrices in the Cafu MatSys for orthogonal rendering into the given 3D view window. More...

#include "Renderer3D.hpp"

Public Member Functions

 UseOrthoMatricesT (const wxWindow &Window)
 The constructor. More...
 
 ~UseOrthoMatricesT ()
 The destructor. More...
 

Detailed Description

A helper class that temporarily sets up the matrices in the Cafu MatSys for orthogonal rendering into the given 3D view window.

Just create an instance of this class on the stack, and within the current scope, the orthogonal mode will be active. It works by setting the orthogonal matrices in the constructor and restoring the original matrices in the destructor.

Constructor & Destructor Documentation

Renderer3DT::UseOrthoMatricesT::UseOrthoMatricesT ( const wxWindow &  Window)

The constructor.

Renderer3DT::UseOrthoMatricesT::~UseOrthoMatricesT ( )

The destructor.


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