Sample terrain of even height. More...
#include <height_map_examples.h>
Public Member Functions | |
FlatGround (double height=0.0) | |
double | GetHeight (double x, double y) const override |
Private Attributes | |
double | height_ |
Sample terrain of even height.
Definition at line 45 of file height_map_examples.h.
towr::FlatGround::FlatGround | ( | double | height = 0.0 | ) |
Definition at line 35 of file height_map_examples.cc.
double towr::FlatGround::GetHeight | ( | double | x, |
double | y | ||
) | const [inline, override, virtual] |
x | The x position. |
y | The y position. |
Implements towr::HeightMap.
Definition at line 48 of file height_map_examples.h.
double towr::FlatGround::height_ [private] |
Definition at line 48 of file height_map_examples.h.