auto-git:
[change] tests/domain/foliage-scatter.test.ts
This commit is contained in:
@@ -99,7 +99,10 @@ function createMaskedTerrain(options: {
|
|||||||
sampleCountX,
|
sampleCountX,
|
||||||
sampleCountZ,
|
sampleCountZ,
|
||||||
cellSize: options.cellSize ?? 1,
|
cellSize: options.cellSize ?? 1,
|
||||||
heights: options.heights ?? new Array<number>(sampleCount).fill(0),
|
heights:
|
||||||
|
options.heights !== undefined
|
||||||
|
? [...options.heights]
|
||||||
|
: new Array<number>(sampleCount).fill(0),
|
||||||
foliageMasks:
|
foliageMasks:
|
||||||
options.includeMask === false
|
options.includeMask === false
|
||||||
? {}
|
? {}
|
||||||
|
|||||||
Reference in New Issue
Block a user