function surfaceCover
universe/src/cover.ts:182
surfaceCover(sketch: TerrainSketch, grammar: SurfaceGrammar, direction: Vec3, plates: PlateContext, craters: number, craterLimit: number, drainage: DrainageSample) → SurfaceCover
What the ground at a direction is made of.
Pure, deterministic, and a function of the same sketch the landforms come from — a save stores neither this nor the height beside it.
- sketchTerrainSketch
- Undocumented
- grammarSurfaceGrammar
- Undocumented
- directionVec3
- Undocumented
- platesPlateContext
- Undocumented
- cratersnumber
- Undocumented
- craterLimitnumber
- Undocumented
- drainageDrainageSample
- Undocumented
ReturnsSurfaceCover