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... | |
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.
Renderer3DT::UseOrthoMatricesT::UseOrthoMatricesT | ( | const wxWindow & | Window | ) |
The constructor.
Renderer3DT::UseOrthoMatricesT::~UseOrthoMatricesT | ( | ) |
The destructor.