chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

22
src/gx/CGxMatrixStack.hpp Normal file
View file

@ -0,0 +1,22 @@
#ifndef GX_C_GX_MATRIX_STACK_HPP
#define GX_C_GX_MATRIX_STACK_HPP
#include <cstdint>
#include <tempest/Matrix.hpp>
class CGxMatrixStack {
public:
// Member variables
uint32_t m_level = 0;
int8_t m_dirty = 0;
C44Matrix m_mtx[4];
uint32_t m_flags[4] = {};
// Member functions
CGxMatrixStack();
void Pop(void);
void Push(void);
C44Matrix& Top(void);
};
#endif