MCPcopy Create free account
hub / github.com/doldecomp/mkdd / draw

Method draw

libs/JSystem/J2DGraph/J2DPictureEx.cpp:416–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416void J2DPictureEx::draw(f32 p1, f32 p2, u8 index, bool p4, bool p5, bool p6)
417{
418 if (mMaterial && mMaterial->mTevBlock && mIsVisible && index < mMaterial->mTexGenBlock.mTexGenNum) {
419 JUTTexture* texture = mMaterial->mTevBlock->getTexture(index);
420 if (texture) {
421 draw(p1, p2, texture->getWidth(), texture->getHeight(), p4, p5, p6);
422 }
423 }
424}
425
426void J2DPictureEx::draw(f32 x, f32 y, f32 width, f32 height, bool p5, bool p6, bool p7)
427{

Callers

nothing calls this directly

Calls 11

GXPosition3f32Function · 0.85
GXColor1u32Function · 0.85
GXTexCoord2s16Function · 0.85
drawFunction · 0.50
getTextureMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45
getTevBlockMethod · 0.45
getTexGenBlockMethod · 0.45
setGXMethod · 0.45
isVisibleMethod · 0.45

Tested by

no test coverage detected