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

Method ShadowScreen

src/Osako/shadowScr.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "Osako/system.h"
6
7ShadowScreen::ShadowScreen() : mTexture(JUTGetVideoManager()->getFbWidth() / 2, JUTGetVideoManager()->getEfbHeight() / 2, GX_TF_I8)
8{
9 mStartX = 0;
10 mStartY = 0;
11 mEndX = JUTGetVideoManager()->getFbWidth();
12 mEndY = JUTGetVideoManager()->getEfbHeight();
13
14 PSMTXIdentity(mPosMtx);
15 C_MTXOrtho(mProjMtx, System::getOrthoT(), System::getOrthoB(), System::getOrthoL(), System::getOrthoR(), 0.0f, 1.0f);
16}
17
18void ShadowScreen::draw()
19{

Callers

nothing calls this directly

Calls 7

JUTGetVideoManagerFunction · 0.85
getOrthoTFunction · 0.85
getOrthoBFunction · 0.85
getOrthoLFunction · 0.85
getOrthoRFunction · 0.85
getFbWidthMethod · 0.80
getEfbHeightMethod · 0.45

Tested by

no test coverage detected