d_a_branch OK

This commit is contained in:
LagoLunatic
2024-01-06 20:38:25 -05:00
parent 73f07b4fac
commit 46fd062f47
8 changed files with 144 additions and 103 deletions
+2 -1
View File
@@ -624,10 +624,11 @@ struct J3DFog : public J3DFogInfo {
explicit J3DFog(const J3DFogInfo& info) { J3DFogInfo::operator=(info); }
J3DFogInfo* getFogInfo() { return (J3DFogInfo*)this; }
void load() {
void load() const {
J3DGDSetFog(GXFogType(mType), mStartZ, mEndZ, mNearZ, mFarZ, mColor);
J3DGDSetFogRangeAdj(mAdjEnable, mCenter, (GXFogAdjTable*)mFogAdjTable);
}
void setType(u8 type) { mType = type; }
};
struct J3DAlphaCompInfo {