mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore(gx): add flag enum to CGxMatrixStack
This commit is contained in:
parent
3549abd87f
commit
912d643e9c
2 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#include "gx/CGxMatrixStack.hpp"
|
||||
|
||||
CGxMatrixStack::CGxMatrixStack() {
|
||||
this->m_flags[0] = 0x1;
|
||||
this->m_flags[0] = F_Identity;
|
||||
}
|
||||
|
||||
void CGxMatrixStack::Pop() {
|
||||
|
|
@ -25,7 +25,7 @@ void CGxMatrixStack::Push() {
|
|||
|
||||
C44Matrix& CGxMatrixStack::Top() {
|
||||
this->m_dirty = 1;
|
||||
this->m_flags[this->m_level] &= 0xFFFFFFFE;
|
||||
this->m_flags[this->m_level] &= ~F_Identity;
|
||||
return this->m_mtx[this->m_level];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue