feat(gx): add const getter for top of matrix stack

This commit is contained in:
fallenoak committed 2023-04-15 10:32:07 -05:00
1 parent 4a1101bd7d
commit c0e623d02b
2 files changed
+5

No files matched your search

+4
View File
@@ -28,3 +28,7 @@ C44Matrix& CGxMatrixStack::Top() {
this->m_flags[this->m_level] &= 0xFFFFFFFE;
return this->m_mtx[this->m_level];
}
const C44Matrix& CGxMatrixStack::TopConst() {
return this->m_mtx[this->m_level];
}
+1
View File
@@ -17,6 +17,7 @@ class CGxMatrixStack {
void Pop(void);
void Push(void);
C44Matrix& Top(void);
const C44Matrix& TopConst();
};
#endif