mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-22 13:56:50 +03:00
feat(gx): add const getter for top of matrix stack
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -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
|
||||||
Reference in new issue
Block a user