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

Public Member Functions

 CImmMatrixStack (CGLContext &context)
 
void Pop ()
 
void Push ()
 
void Concat (const cpu_mat_44 &xform, const cpu_mat_44 &inverse)
 
void SetTop (const cpu_mat_44 &newMat, const cpu_mat_44 &newInv)
 
const cpu_mat_44 & GetTop () const
 
const cpu_mat_44 & GetInvTop () const
 
- Public Member Functions inherited from CMatrixStack
 CMatrixStack (CGLContext &context)
 

Additional Inherited Members

- Protected Attributes inherited from CMatrixStack
CGLContextGLContext
 
cpu_mat_44 Matrices [MaxStackDepth]
 
cpu_mat_44 InverseMatrices [MaxStackDepth]
 
int CurStackDepth
 
- Static Protected Attributes inherited from CMatrixStack
static const int MaxStackDepth = 16
 

Detailed Description

Definition at line 51 of file matrix.h.

Constructor & Destructor Documentation

◆ CImmMatrixStack()

CImmMatrixStack::CImmMatrixStack ( CGLContext context)
inline

Definition at line 53 of file matrix.h.

Member Function Documentation

◆ Pop()

void CImmMatrixStack::Pop ( )
inlinevirtual

Implements CMatrixStack.

Definition at line 58 of file matrix.h.

◆ Push()

void CImmMatrixStack::Push ( )
inlinevirtual

Implements CMatrixStack.

Definition at line 65 of file matrix.h.

◆ Concat()

void CImmMatrixStack::Concat ( const cpu_mat_44 &  xform,
const cpu_mat_44 &  inverse 
)
inlinevirtual

Implements CMatrixStack.

Definition at line 74 of file matrix.h.

◆ SetTop()

void CImmMatrixStack::SetTop ( const cpu_mat_44 &  newMat,
const cpu_mat_44 &  newInv 
)
inlinevirtual

Implements CMatrixStack.

Definition at line 83 of file matrix.h.

◆ GetTop()

const cpu_mat_44 & CImmMatrixStack::GetTop ( ) const
inline

Definition at line 90 of file matrix.h.

◆ GetInvTop()

const cpu_mat_44 & CImmMatrixStack::GetInvTop ( ) const
inline

Definition at line 91 of file matrix.h.


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