diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2023-09-23 15:52:17 -0700 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2023-09-23 15:52:17 -0700 |
| commit | 5e43515ca760d09f4b5e605127fbccf5766aea1e (patch) | |
| tree | 532bb55ba48176b7465ed04b399fa4967c4b6cc0 /src/JSystem/J3DGraphBase/J3DPacket.cpp | |
| parent | f04f4f219f673ebf36aa9505be13cbfffe9edc47 (diff) | |
J3DMatBlock start
Diffstat (limited to 'src/JSystem/J3DGraphBase/J3DPacket.cpp')
| -rw-r--r-- | src/JSystem/J3DGraphBase/J3DPacket.cpp | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DPacket.cpp b/src/JSystem/J3DGraphBase/J3DPacket.cpp index ee5e48a5..9e2e5885 100644 --- a/src/JSystem/J3DGraphBase/J3DPacket.cpp +++ b/src/JSystem/J3DGraphBase/J3DPacket.cpp @@ -351,19 +351,8 @@ void J3DShapePacket::draw() { if (!checkFlag(J3DShpFlag_Hidden) && mpShape != NULL) { prepareDraw(); -#if 0 - if (mpTexMtxObj != NULL) { - J3DMaterial* material = mpShape->getMaterial(); - J3DDifferedTexMtx::sTexGenBlock = material->getTexGenBlock(); - J3DDifferedTexMtx::sTexMtxObj = getTexMtxObj(); - } else { - J3DDifferedTexMtx::sTexGenBlock = NULL; - } -#endif - - if (mpDisplayListObj != NULL) { + if (mpDisplayListObj != NULL) mpDisplayListObj->callDL(); - } mpShape->draw(); } @@ -373,17 +362,6 @@ void J3DShapePacket::draw() { void J3DShapePacket::drawFast() { if (!checkFlag(J3DShpFlag_Hidden) && mpShape != NULL) { prepareDraw(); - -#if 0 - if (mpTexMtxObj != NULL) { - J3DMaterial* material = mpShape->getMaterial(); - J3DDifferedTexMtx::sTexGenBlock = material->getTexGenBlock(); - J3DDifferedTexMtx::sTexMtxObj = getTexMtxObj(); - } else { - J3DDifferedTexMtx::sTexGenBlock = NULL; - } -#endif - mpShape->drawFast(); } } |
