Rise
The Vieneo Province
Loading...
Searching...
No Matches
GridLightning Namespace Reference

Classes

struct  Cell
struct  Event
class  System
struct  Vector3

Functions

bool Before (const Cell &a, const Cell &b)
double Strength (float precipitation)
float Distance (const Vector3 &a, const Vector3 &b)

Variables

constexpr float PrecipitationThreshold = 6.f
constexpr float RadiusKm = 64.f
constexpr float CooldownRadiusKm = 6.f
constexpr float CooldownSeconds = 8.f
constexpr double DistributionInterval = .25
constexpr double MaximumRate = 1.

Function Documentation

◆ Before()

bool GridLightning::Before ( const Cell & a,
const Cell & b )
inline

Definition at line 25 of file GridLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Distance()

float GridLightning::Distance ( const Vector3 & a,
const Vector3 & b )
inline

Definition at line 33 of file GridLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Strength()

double GridLightning::Strength ( float precipitation)
inline

Definition at line 27 of file GridLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CooldownRadiusKm

float GridLightning::CooldownRadiusKm = 6.f
constexpr

Definition at line 13 of file GridLightning.h.

◆ CooldownSeconds

float GridLightning::CooldownSeconds = 8.f

Definition at line 13 of file GridLightning.h.

◆ DistributionInterval

double GridLightning::DistributionInterval = .25
constexpr

Definition at line 14 of file GridLightning.h.

◆ MaximumRate

double GridLightning::MaximumRate = 1.
constexpr

Definition at line 16 of file GridLightning.h.

◆ PrecipitationThreshold

float GridLightning::PrecipitationThreshold = 6.f
constexpr

Definition at line 12 of file GridLightning.h.

◆ RadiusKm

float GridLightning::RadiusKm = 64.f

Definition at line 12 of file GridLightning.h.