载入中...
搜索中...
未找到
CaveObstacleScour.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
7
8#include <vector>
9
10namespace eve::procgen {
11
26
29 float erosion = 0.f;
30 float horseshoeScour = 0.f;
31 float wakeScour = 0.f;
32 float roughnessRetention = 1.f;
33 int siteIndex = -1;
34};
35
45[[nodiscard]] EVENGINE_API_DOMAINS std::vector<CaveObstacleScourSite> createCaveObstacleScourSites(
46 const CaveBreakdownSet& breakdown, const std::vector<CaveHydrologyPoint>& trunk,
47 const std::vector<float>& hydraulicWeights, float sedimentLoad, float wallRoughness);
48
56sampleCaveObstacleScour(CaveHydrologyVec3 point, const std::vector<CaveObstacleScourSite>& sites);
57
58} // namespace eve::procgen
#define EVENGINE_API_DOMAINS
Definition Export.h:110
glm::vec3 point
CaveObstacleScourSample sampleCaveObstacleScour(CaveHydrologyVec3 point, const std::vector< CaveObstacleScourSite > &sites)
Sample deep upstream horseshoe scour and shallower elongated wake erosion.
std::vector< CaveObstacleScourSite > createCaveObstacleScourSites(const CaveBreakdownSet &breakdown, const std::vector< CaveHydrologyPoint > &trunk, const std::vector< float > &hydraulicWeights, float sedimentLoad, float wallRoughness)
Couple landed breakdown blocks to the nearest authoritative cave-stream segment.
CaveBreakdownSet public API.
CaveHydrologyVec3 public API.
Local upstream horseshoe and downstream wake erosion response.
One landed breakdown block coupled to a horseshoe-vortex and wake scour footprint.