载入中...
搜索中...
未找到
ThunderStrike.h
浏览该文件的文档.
43 ThunderStrikeState& state, const ThunderStrikeSettings& settings, float playerX, float playerY, float playerZ,
47[[nodiscard]] EVENGINE_API_ORCHESTRATION Result<void> advanceThunderStrike(ThunderStrikeState& state, float dt);
Move-only, checked operation results for the common layer.
Definition LightingTarget.h:19
Result< ThunderStrikeReceipt > triggerThunderStrike(ThunderStrikeState &state, const ThunderStrikeSettings &settings, float px, float py, float pz, std::uint32_t seed)
Start a Pcg-style strike around the supplied player position.
Definition ThunderStrike.cpp:13
Result< void > advanceThunderStrike(ThunderStrikeState &state, float dt)
Apply Pcg's clamped Lerp(intensity,0,dt*2) decay and 0.15 stop threshold.
Definition ThunderStrike.cpp:35
Deterministic strike command consumed by scene, light and audio providers.
Definition ThunderStrike.h:26
Pcg ThunderStrike parameters independent of renderer and audio providers.
Definition ThunderStrike.h:12