Improve ship nickname rendering

This commit is contained in:
vottozi committed 2026-02-02 04:44:18 +06:00
1 parent e18484ea62
commit e050d7d0ec
7 files changed
+45 -29

No files matched your search

+7
View File
@@ -115,6 +115,13 @@ namespace ZL {
uint64_t lastExplosionTime = 0;
const uint64_t explosionDurationMs = 500;
static constexpr float MAX_DIST_SQ = 10000.f * 10000.f;
static constexpr float FADE_START = 6000.f;
static constexpr float FADE_RANGE = 4000.f;
static constexpr float BASE_SCALE = 140.f;
static constexpr float PERSPECTIVE_K = 0.05f; // Tune
static constexpr float MIN_SCALE = 0.4f;
static constexpr float MAX_SCALE = 1.5f;
};