5#include "system/ocean/ocean_surface.h"
The scene's sea at the moment being computed (OceanSystem): its waves, its ripples and its look - wha...
Definition ocean_data.h:13
bool present
The scene has an ocean; with none, nothing below is read.
Definition ocean_data.h:14
float level
World height the water rests at: its Transform's.
Definition ocean_data.h:17
float foam
How readily a squeezed crest whitens.
Definition ocean_data.h:19
glm::vec3 foamColor
Linear.
Definition ocean_data.h:18
glm::vec2 detailDrift
How far the maps have drifted with the wind, in repeats, wrapped to [0, 1).
Definition ocean_data.h:23
float waterline
Metres of foam where the water meets anything.
Definition ocean_data.h:20
float detailScale
Definition ocean_data.h:21
An ocean's ripples at one moment: its spectrum on below minWavelength, down to shortestRipple,...
Definition ocean_surface.h:114
An ocean's surface at one moment: the waves the spectrum gives, and what they do.
Definition ocean_surface.h:46