summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2023-09-23 21:06:24 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2023-09-23 21:06:24 -0700
commit3f669fb895d4119461d158419d0fc1f4fedccd70 (patch)
tree426f74e28bba1ae3912bc9dad8ba9c3a60485503 /include/JSystem/J3DGraphBase
parent4e40d0643968886b2c8cdacfed655400fd8ffb49 (diff)
J3DMaterialAttach progress
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DTexture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DTexture.h b/include/JSystem/J3DGraphBase/J3DTexture.h
index e5b4a31d..46840e13 100644
--- a/include/JSystem/J3DGraphBase/J3DTexture.h
+++ b/include/JSystem/J3DGraphBase/J3DTexture.h
@@ -63,6 +63,8 @@ struct J3DTexCoord : public J3DTexCoordInfo {
u8 getTexGenMtx() { return mTexGenMtx & 0xff; }
u16 getTexMtxReg() { return mTexMtxReg & 0xff; }
+ void setTexGenMtx(u8 v) { mTexGenMtx = v; }
+
void resetTexMtxReg() {
mTexMtxReg = mTexGenMtx;
}