summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase/J3DTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/J3DGraphBase/J3DTexture.h')
-rw-r--r--include/JSystem/J3DGraphBase/J3DTexture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DTexture.h b/include/JSystem/J3DGraphBase/J3DTexture.h
index 96ee30877a..27e7349dee 100644
--- a/include/JSystem/J3DGraphBase/J3DTexture.h
+++ b/include/JSystem/J3DGraphBase/J3DTexture.h
@@ -82,6 +82,9 @@ struct J3DTexCoord : public J3DTexCoordInfo {
*(J3DTexCoordInfo*)this = *param_1;
}
+ u8 getTexGenMtx() { return mTexGenMtx & 0xff; }
+ u16 getTexMtxReg() { return mTexMtxReg & 0xff; }
+
void resetTexMtxReg() {
mTexMtxReg = mTexGenMtx;
}