mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): add const getter for top of matrix stack
This commit is contained in:
parent
4a1101bd7d
commit
c0e623d02b
2 changed files with 5 additions and 0 deletions
|
|
@ -28,3 +28,7 @@ C44Matrix& CGxMatrixStack::Top() {
|
||||||
this->m_flags[this->m_level] &= 0xFFFFFFFE;
|
this->m_flags[this->m_level] &= 0xFFFFFFFE;
|
||||||
return this->m_mtx[this->m_level];
|
return this->m_mtx[this->m_level];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const C44Matrix& CGxMatrixStack::TopConst() {
|
||||||
|
return this->m_mtx[this->m_level];
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ class CGxMatrixStack {
|
||||||
void Pop(void);
|
void Pop(void);
|
||||||
void Push(void);
|
void Push(void);
|
||||||
C44Matrix& Top(void);
|
C44Matrix& Top(void);
|
||||||
|
const C44Matrix& TopConst();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue