mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -16,7 +16,7 @@ CPowerBeam::CPowerBeam(CAssetId characterId, EWeaponType type, TUniqueId playerI
|
||||
void CPowerBeam::PreRenderGunFx(const CStateManager& mgr, const zeus::CTransform& xf) {
|
||||
zeus::CTransform backupView = CGraphics::g_ViewMatrix;
|
||||
CGraphics::SetViewPointMatrix(xf.inverse() * backupView);
|
||||
CGraphics::SetModelMatrix(zeus::CTransform::Identity());
|
||||
CGraphics::SetModelMatrix(zeus::CTransform());
|
||||
if (x234_shotSmokeGen)
|
||||
x234_shotSmokeGen->Render();
|
||||
CGraphics::SetViewPointMatrix(backupView);
|
||||
|
||||
Reference in New Issue
Block a user