diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-03-23 14:59:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-23 14:59:33 +1100 |
commit | c484b1a67230f938493de16026ca3a2dd7269a2c (patch) | |
tree | 13ed2b61fb8502a76c82c478c3d013cb7662e1a2 | |
parent | cbd6409f6d1fb5e0bb531c8d306fbf3e19c8218f (diff) |
Update StarMaterialItem.cpp
[skip ci]
-rw-r--r-- | source/game/items/StarMaterialItem.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/game/items/StarMaterialItem.cpp b/source/game/items/StarMaterialItem.cpp index fd32983..a46fa98 100644 --- a/source/game/items/StarMaterialItem.cpp +++ b/source/game/items/StarMaterialItem.cpp @@ -133,7 +133,6 @@ void MaterialItem::update(float dt, FireMode fireMode, bool shifting, HashSet<Mo void MaterialItem::render(RenderCallback* renderCallback, EntityRenderLayer) { if (m_blockSwap || m_collisionOverride != TileCollisionOverride::None) { float pulse = (float)sin(2 * Constants::pi * 4.0 * Time::monotonicTime()); - float pulseLevel = 1.f - 0.3f * 0.5f * ((float)sin(2 * Constants::pi * 4.0 * Time::monotonicTime()) + 1.f); float pulseA = 0.85 - pulse * 0.15f; float pulseB = 0.85 + pulse * 0.15f; Color color = owner()->favoriteColor().mix(Color::White); |