mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 10:04:42 +03:00
feat(gx): add const getter for top of matrix stack
This commit is contained in:
parent
4a1101bd7d
commit
c0e623d02b
@ -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…
Reference in New Issue
Block a user