Rise
The Vieneo Province
Loading...
Searching...
No Matches
CloudBaseWeather.h File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <memory>
Include dependency graph for CloudBaseWeather.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  CloudBaseWeather

Typedefs

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

Functions

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

Variables

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