2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 08:27:42 +00:00

More work on CPlayerGun

This commit is contained in:
Jack Andersen
2017-08-30 16:42:37 -10:00
parent 9b5ec8f86d
commit ddb1d584b7
20 changed files with 685 additions and 100 deletions

View File

@@ -95,6 +95,11 @@ void CGunWeapon::TouchHolo(const CStateManager& mgr)
}
void CGunWeapon::DrawHologram(const CStateManager& mgr, const zeus::CTransform& xf, const CModelFlags& flags) const
{
}
void CGunWeapon::UpdateMuzzleFx(float dt, const zeus::CVector3f& scale, const zeus::CVector3f& pos, bool emitting)
{
@@ -112,4 +117,11 @@ zeus::CAABox CGunWeapon::GetBounds() const
return zeus::CAABox::skNullBox;
}
zeus::CAABox CGunWeapon::GetBounds(const zeus::CTransform& xf) const
{
if (x10_solidModelData)
return x10_solidModelData->GetBounds(xf);
return zeus::CAABox::skNullBox;
}
}