mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
macOS decal rendering support
This commit is contained in:
@@ -338,6 +338,7 @@ bool CEnergyProjectile::Explode(const zeus::CVector3f& pos, const zeus::CVector3
|
||||
if (auto particle = x170_projectile.CollisionOccured(type, !done, retargetPlayer, offsetPos, normal, targetPos))
|
||||
{
|
||||
zeus::CTransform particleXf = zeus::lookAt(zeus::CVector3f::skZero, normal);
|
||||
particleXf.origin = offsetPos;
|
||||
if (xf0_weaponType != EWeaponType::Power ||
|
||||
!xf8_filter.GetExcludeList().HasMaterial(EMaterialTypes::Player) ||
|
||||
!x2e4_27_inWater)
|
||||
|
||||
Reference in New Issue
Block a user