20 lines
509 B
C++
20 lines
509 B
C++
// Copyright © 2008-2021 Pioneer Developers. See AUTHORS.txt for details
|
|
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
|
|
|
|
#include "Terrain.h"
|
|
|
|
template <>
|
|
const char *TerrainHeightFractal<TerrainHeightFlat>::GetHeightFractalName() const { return "Flat"; }
|
|
|
|
template <>
|
|
TerrainHeightFractal<TerrainHeightFlat>::TerrainHeightFractal(const SystemBody *body) :
|
|
Terrain(body)
|
|
{
|
|
}
|
|
|
|
template <>
|
|
double TerrainHeightFractal<TerrainHeightFlat>::GetHeight(const vector3d &p) const
|
|
{
|
|
return 0.0;
|
|
}
|