diff options
| author | Caroline Madsen <69010899+randomsalience@users.noreply.github.com> | 2024-10-15 16:59:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 23:59:31 +0300 |
| commit | 9f58034704ae6fea53ba8b3e6dc10d3135d0da7c (patch) | |
| tree | 1f62a71331fdc053b26e208a2727ec10d37cb22d /include/JSystem/J3DGraphBase | |
| parent | 9895999b7b465a487c59153788be86498abb9159 (diff) | |
J3D work (#2212)
Diffstat (limited to 'include/JSystem/J3DGraphBase')
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DShape.h | 1 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphBase/J3DShapeMtx.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DShape.h b/include/JSystem/J3DGraphBase/J3DShape.h index 7e7b96aaef..3e02440cc5 100644 --- a/include/JSystem/J3DGraphBase/J3DShape.h +++ b/include/JSystem/J3DGraphBase/J3DShape.h @@ -123,6 +123,7 @@ public: void setTexMtxLoadType(u32 type) { mFlags = (mFlags & 0xFFFF0FFF) | type; } bool getNBTFlag() const { return mHasNBT; } u32 getBumpMtxOffset() const { return mBumpMtxOffset; } + void setBumpMtxOffset(u32 offset) { mBumpMtxOffset = offset; } GXVtxDescList* getVtxDesc() const { return mVtxDesc; } J3DMaterial* getMaterial() const { return mMaterial; } diff --git a/include/JSystem/J3DGraphBase/J3DShapeMtx.h b/include/JSystem/J3DGraphBase/J3DShapeMtx.h index 590b95a3ff..3a5a7e889a 100644 --- a/include/JSystem/J3DGraphBase/J3DShapeMtx.h +++ b/include/JSystem/J3DGraphBase/J3DShapeMtx.h @@ -15,6 +15,7 @@ public: Mtx& getMtx(u16 idx) { return mpTexMtx[idx]; } Mtx44& getEffectMtx(u16 idx) { return mpEffectMtx[idx]; } u16 getNumTexMtx() { return mTexMtxNum; } + void setMtx(u16 idx, Mtx const* mtx) { MTXCopy(*mtx, mpTexMtx[idx]); } /* 0x00 */ Mtx* mpTexMtx; /* 0x04 */ Mtx44* mpEffectMtx; |
