diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-03-14 15:27:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 15:27:46 -0700 |
| commit | a01d65b0b99400f62d93eee28475872b641cfd50 (patch) | |
| tree | abea30ef7e6fb74a9468770371d9217fa43b4b9d /include/JSystem/JParticle | |
| parent | 500d079c40b17e52abf40ec32ad9457d384ce921 (diff) | |
d_ky_thunder done / d_scope wip / m_Do_graphic wip (#308)
* d_ky_thunder OK + misc build fixes
* d_scope mostly done
* some m_Do_graphic wip
* remove asm
Diffstat (limited to 'include/JSystem/JParticle')
| -rw-r--r-- | include/JSystem/JParticle/JPAParticle.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/JSystem/JParticle/JPAParticle.h b/include/JSystem/JParticle/JPAParticle.h index 5d72c30279..c8379df13e 100644 --- a/include/JSystem/JParticle/JPAParticle.h +++ b/include/JSystem/JParticle/JPAParticle.h @@ -23,6 +23,16 @@ class JPAResourceManager; class JPADrawInfo { public: + JPADrawInfo(Mtx param_0, f32 fovY, f32 aspect) { + PSMTXCopy(param_0, mCamMtx); + C_MTXLightPerspective(mPrjMtx, fovY, aspect, 0.5f, -0.5f, 0.5f, 0.5f); + } + + JPADrawInfo(Mtx param_0, f32 top, f32 bottom, f32 left, f32 right) { + PSMTXCopy(param_0, mCamMtx); + C_MTXLightOrtho(mPrjMtx, top, bottom, left, right, 0.5f, 0.5f, 0.5f, 0.5f); + } + Mtx mCamMtx; Mtx mPrjMtx; |
