PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
CMatrixStack Class Referenceabstract
+ Inheritance diagram for CMatrixStack:
+ Collaboration diagram for CMatrixStack:

Public Member Functions

 CMatrixStack (CGLContext &context)
 
virtual void Pop ()=0
 
virtual void Push ()=0
 
virtual void Concat (const cpu_mat_44 &xform, const cpu_mat_44 &inverse)=0
 
virtual void SetTop (const cpu_mat_44 &newMat, const cpu_mat_44 &newInv)=0
 

Protected Attributes

CGLContextGLContext
 
cpu_mat_44 Matrices [MaxStackDepth]
 
cpu_mat_44 InverseMatrices [MaxStackDepth]
 
int CurStackDepth
 

Static Protected Attributes

static const int MaxStackDepth = 16
 

Detailed Description

Definition at line 22 of file matrix.h.

Constructor & Destructor Documentation

◆ CMatrixStack()

CMatrixStack::CMatrixStack ( CGLContext context)
inline

Definition at line 30 of file matrix.h.

◆ ~CMatrixStack()

virtual CMatrixStack::~CMatrixStack ( )
inlinevirtual

Definition at line 37 of file matrix.h.

Field Documentation

◆ GLContext

CGLContext& CMatrixStack::GLContext
protected

Definition at line 24 of file matrix.h.

◆ MaxStackDepth

const int CMatrixStack::MaxStackDepth = 16
staticprotected

Definition at line 25 of file matrix.h.

◆ Matrices

cpu_mat_44 CMatrixStack::Matrices[MaxStackDepth]
protected

Definition at line 26 of file matrix.h.

◆ InverseMatrices

cpu_mat_44 CMatrixStack::InverseMatrices[MaxStackDepth]
protected

Definition at line 26 of file matrix.h.

◆ CurStackDepth

int CMatrixStack::CurStackDepth
protected

Definition at line 27 of file matrix.h.


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