![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
One wave of an ocean's sum, at the surface's moment. More...
#include <ocean_surface.h>
Public Attributes | |
| glm::vec2 | direction = {0.0f, 1.0f} |
| Unit, on the XZ plane: the way it rolls. | |
| float | wavenumber = 0.0f |
| Radians a metre: 2 pi over its length. | |
| float | frequency = 0.0f |
| Radians a second, by the dispersion at the ocean's depth. | |
| float | amplitude = 0.0f |
| float | steepness = 0.0f |
| How far a crest draws the water toward it, in amplitudes; the sum never folds over. | |
| float | phase = 0.0f |
| Radians at the rest point's origin and this moment, in [0, 2 pi). | |
One wave of an ocean's sum, at the surface's moment.
| float Vkm::Engine::GerstnerWave::amplitude = 0.0f |
Metres.