From adac5936d2e16ee5d07d12baffb54ce60b1dfcea Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Tue, 8 Jul 2025 22:40:41 -0400 Subject: Minor cleanup --- include/JSystem/J3DGraphBase/J3DMatBlock.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'include/JSystem/J3DGraphBase') diff --git a/include/JSystem/J3DGraphBase/J3DMatBlock.h b/include/JSystem/J3DGraphBase/J3DMatBlock.h index 41a98e0b..38af7236 100644 --- a/include/JSystem/J3DGraphBase/J3DMatBlock.h +++ b/include/JSystem/J3DGraphBase/J3DMatBlock.h @@ -610,26 +610,17 @@ struct J3DBlend : public J3DBlendInfo { void setBlendInfo(const J3DBlendInfo& info) { *(J3DBlendInfo*)this = info; } GXBlendMode getType() const { return (GXBlendMode)mBlendMode; } + void setType(u8 i_type) { mBlendMode = i_type; } GXBlendFactor getSrcFactor() const { return (GXBlendFactor)mSrcFactor; } + void setSrcFactor(u8 i_src) { mSrcFactor = i_src; } GXBlendFactor getDstFactor() const { return (GXBlendFactor)mDstFactor; } + void setDstFactor(u8 i_dst) { mDstFactor = i_dst; } GXLogicOp getOp() const { return (GXLogicOp)mLogicOp; } void load(u8 ditherEnable) { J3DGDSetBlendMode(getType(), getSrcFactor(), getDstFactor(), getOp(), ditherEnable); } - void setType(u8 i_type) { - mBlendMode = i_type; - } - - void setSrcFactor(u8 i_src) { - mSrcFactor = i_src; - } - - void setDstFactor(u8 i_dst) { - mDstFactor = i_dst; - } - // void operator=(const J3DBlend&) {} // void operator==(J3DBlend&) {} }; -- cgit v1.2.3