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

Method drawPreIn

src/Shiraiwa/WipeCheck.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void TWipeCheck::drawPreIn(int camNo, JUTColor color)
34{
35 if (camNo != 0 || mVp.getWidth() <= 0.0f || mVp.getHeight() <= 0.0f)
36 return;
37
38 mGraph[camNo]->place(mVp);
39
40 mGraph[camNo]->setOrtho(mVp.i.x, mVp.i.y, mVp.getWidth(), mVp.getHeight(), -1.0f, 1.0f);
41 mGraph[camNo]->setPort();
42 J2DFillBox(mVp, color);
43}
44
45void TWipeCheck::drawMain(int camNo, f32 rate, JUTColor colorRGB)
46{

Callers

nothing calls this directly

Calls 6

J2DFillBoxFunction · 0.85
getWidthMethod · 0.45
getHeightMethod · 0.45
placeMethod · 0.45
setOrthoMethod · 0.45
setPortMethod · 0.45

Tested by

no test coverage detected