mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 04:22:28 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
21
src/gx/Draw.cpp
Normal file
21
src/gx/Draw.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "gx/Draw.hpp"
|
||||
#include "gx/Device.hpp"
|
||||
|
||||
void GxDraw(CGxBatch* batches, int32_t count) {
|
||||
g_theGxDevicePtr->Draw(batches, count);
|
||||
}
|
||||
|
||||
void GxSceneClear(uint32_t mask, CImVector color) {
|
||||
g_theGxDevicePtr->SceneClear(mask, color);
|
||||
}
|
||||
|
||||
void GxScenePresent() {
|
||||
C3Vector v2 = { 0.0f, 0.0f, 0.0f };
|
||||
GxuFlushDrawList(GxuCat_2, v2);
|
||||
|
||||
g_theGxDevicePtr->ScenePresent();
|
||||
}
|
||||
|
||||
void GxuFlushDrawList(EGxuDrawListCategory a1, const C3Vector& a2) {
|
||||
// TODO
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue