载入中...
搜索中...
未找到
LightningGeometry.cpp 文件参考
#include <algorithm>
#include <array>
#include <cmath>
#include "weather/Lightning.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::weather
 

函数

EVENGINE_API_ORCHESTRATION Result< void > eve::weather::validateLightning (const LightningSettings &settings)
 Validate bounded finite settings without modifying live instances.
 
EVENGINE_API_ORCHESTRATION float eve::weather::lightningEnvelope (float age)
 Weather return-stroke envelope, normalized age [0,1]; side-effect free.
 
EVENGINE_API_ORCHESTRATION Result< LightningGeometry > eve::weather::buildLightningGeometry (const LightningSettings &settings, unsigned variant)
 Deterministic CPU preparation, explicit variant stream; identical inputs give identical geometry on one platform. @cost Linear in 2^subdivisions plus branch count; prepare once per pooled variant, never per frame.