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

Method drawOut

libs/JSystem/J2DGraph/J2DPictureEx.cpp:535–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535void J2DPictureEx::drawOut(f32 p1, f32 p2, f32 p3, f32 p4, f32 p5, f32 p6)
536{
537 if (mMaterial && mMaterial->mTevBlock && mIsVisible) {
538 JUTTexture* texture = mMaterial->mTevBlock->getTexture(0);
539 if (texture) {
540 drawOut(JGeometry::TBox2f(p1, p2, p1 + p3, p2 + p4),
541 JGeometry::TBox2f(p5, p6, p5 + texture->getWidth(), p6 + texture->getHeight()));
542 }
543 }
544}
545
546void J2DPictureEx::drawOut(const JGeometry::TBox2<f32>& boundBox, const JGeometry::TBox2<f32>& texBox)
547{

Callers

nothing calls this directly

Calls 9

GXPosition3f32Function · 0.85
GXColor1u32Function · 0.85
GXPosition2f32Function · 0.85
getTextureMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45
getTevBlockMethod · 0.45
setGXMethod · 0.45
isVisibleMethod · 0.45

Tested by

no test coverage detected