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

Classes

struct  Point
struct  Cell
struct  Grid
struct  Frame
struct  Controls
class  Store

Typedefs

using GridPtr = std::shared_ptr<const Grid>

Functions

float Smooth (float x)
float AltitudeWeight (float altitude, float top)
float Dot (Point a, Point b)
Point Direction (int cube, float u, float v)
bool Active (const Frame &frame)
Controls Sample (const Frame &frame, Point p, float altitude, float top, float base, float turbulence)

Variables

constexpr Point Normals [] ={{0,-1,0},{1,0,0},{-1,0,0},{0,1,0},{0,0,-1},{0,0,1}}
constexpr Point East [] ={{1,0,0},{0,1,0},{0,-1,0},{-1,0,0},{1,0,0},{1,0,0}}
constexpr Point Down [] ={{0,0,1},{0,0,1},{0,0,1},{0,0,1},{0,-1,0},{0,1,0}}
constexpr int CenterU [] ={1019,3057,-1019,5095,1019,1019}
constexpr int CenterV [] ={1019,1019,1019,1019,-1019,3057}

Typedef Documentation

◆ GridPtr

using CloudBaseWeather::GridPtr = std::shared_ptr<const Grid>

Definition at line 64 of file CloudBaseWeather.h.

Function Documentation

◆ Active()

bool CloudBaseWeather::Active ( const Frame & frame)
inline

Definition at line 66 of file CloudBaseWeather.h.

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

◆ AltitudeWeight()

float CloudBaseWeather::AltitudeWeight ( float altitude,
float top )
inline

Definition at line 14 of file CloudBaseWeather.h.

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

◆ Direction()

Point CloudBaseWeather::Direction ( int cube,
float u,
float v )
inline

Definition at line 22 of file CloudBaseWeather.h.

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

◆ Dot()

float CloudBaseWeather::Dot ( Point a,
Point b )
inline

Definition at line 16 of file CloudBaseWeather.h.

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

◆ Sample()

Controls CloudBaseWeather::Sample ( const Frame & frame,
Point p,
float altitude,
float top,
float base,
float turbulence )
inline

Definition at line 68 of file CloudBaseWeather.h.

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

◆ Smooth()

float CloudBaseWeather::Smooth ( float x)
inline

Definition at line 13 of file CloudBaseWeather.h.

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

Variable Documentation

◆ CenterU

int CloudBaseWeather::CenterU[] ={1019,3057,-1019,5095,1019,1019}
inlineconstexpr

Definition at line 20 of file CloudBaseWeather.h.

◆ CenterV

int CloudBaseWeather::CenterV[] ={1019,1019,1019,1019,-1019,3057}
inlineconstexpr

Definition at line 21 of file CloudBaseWeather.h.

◆ Down

Point CloudBaseWeather::Down[] ={{0,0,1},{0,0,1},{0,0,1},{0,0,1},{0,-1,0},{0,1,0}}
inlineconstexpr

Definition at line 19 of file CloudBaseWeather.h.

◆ East

Point CloudBaseWeather::East[] ={{1,0,0},{0,1,0},{0,-1,0},{-1,0,0},{1,0,0},{1,0,0}}
inlineconstexpr

Definition at line 18 of file CloudBaseWeather.h.

◆ Normals

Point CloudBaseWeather::Normals[] ={{0,-1,0},{1,0,0},{-1,0,0},{0,1,0},{0,0,-1},{0,0,1}}
inlineconstexpr

Definition at line 17 of file CloudBaseWeather.h.