More CCubeMaterial

Former-commit-id: 78022784ef
This commit is contained in:
2022-09-05 00:00:04 -04:00
parent 928d673a86
commit 5726400667
15 changed files with 318 additions and 27 deletions

View File

@@ -5,7 +5,8 @@
#include <stddef.h>
#include "dolphin/gx.h"
#include <dolphin/gx.h>
#include <dolphin/mtx.h>
class CGX {
public:
@@ -124,6 +125,10 @@ public:
static void ResetGXStates();
static void ResetGXStatesFull(); // name?
static inline void LoadTexMtxImm(const f32 mtx[][4], unsigned long id, GXTexMtxType type) {
GXLoadTexMtxImm(const_cast<MtxPtr>(mtx), id, type);
}
static GXColor GetChanAmbColor(EChannelId channel);
static void GetFog(GXFogType* fogType, f32* fogStartZ, f32* fogEndZ, f32* fogNearZ, f32* fogFarZ, GXColor* fogColor);