载入中...
搜索中...
未找到
TerrainErosion.cpp
浏览该文件的文档.
7Result<int> applyTerrainThermal(Heightmap& heights, Heightmap& sediment, const TerrainThermalSettings& settings) {
12 !std::isfinite(settings.spacingX) || settings.spacingX <= 0 || !std::isfinite(settings.spacingZ) ||
14 !std::isfinite(settings.reposeSlope) || settings.reposeSlope < 0 || !std::isfinite(settings.dt) ||
17 "terrain.thermal: distinct matching rasters, nonnegative heights, positive scales and nonnegative "
43 const double newHeight = original - movement, newSediment = double(sedimentResult[index]) + movement;
In-memory terrain heightmap: a dense float grid (row-major, index = y * width + x) materialized from ...
Definition Heightmap.h:21
Definition EvpackPointGraphLoader.h:12
Result< int > applyTerrainThermal(Heightmap &heights, Heightmap &sediment, const TerrainThermalSettings &settings)
Apply the source thermal equation, publishing height and sediment together.
Definition TerrainErosion.cpp:7
Explicit simulation controls for the Pcg eight-neighbor thermal kernel. Height differences are multip...
Definition TerrainErosion.h:114