Cafu Engine
AxesInfoT Class Reference

This class describes how the three world-space axes are mapped to the two screen- or window-space axes. More...

#include "AxesInfo.hpp"

Public Member Functions

 AxesInfoT (int HorzAxis_, bool MirrorHorz_, int VertAxis_, bool MirrorVert_)
 

Public Attributes

int HorzAxis
 The number of the world axis that maps to the horizontal (x) screen/window axis. More...
 
int VertAxis
 The number of the world axis that maps to the vertical (y) screen/window axis. More...
 
int ThirdAxis
 The number of the world axis that points into or out of the screen/window. More...
 
bool MirrorHorz
 When true, the mapping from the horizontal world space axis to the horizontal screen/window axis is mirrored. More...
 
bool MirrorVert
 When true, the mapping from the vertical world space axis to the vertical screen/window axis is mirrored. More...
 

Detailed Description

This class describes how the three world-space axes are mapped to the two screen- or window-space axes.

The origin of screen/window-space is always in the upper left corner. The screen/window-space horizontal axis ("x-axis") points from left to right, and the related vertical axis ("y-axis") points from top to bottom. In the context of this class, the three world space axes x, y and z are numbered 0, 1 and 2, respectively.

Member Data Documentation

int AxesInfoT::HorzAxis

The number of the world axis that maps to the horizontal (x) screen/window axis.

bool AxesInfoT::MirrorHorz

When true, the mapping from the horizontal world space axis to the horizontal screen/window axis is mirrored.

bool AxesInfoT::MirrorVert

When true, the mapping from the vertical world space axis to the vertical screen/window axis is mirrored.

int AxesInfoT::ThirdAxis

The number of the world axis that points into or out of the screen/window.

int AxesInfoT::VertAxis

The number of the world axis that maps to the vertical (y) screen/window axis.


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