Include foliage mask handling in terrain scene bounds calculation
This commit is contained in:
@@ -1173,7 +1173,8 @@ function getRuntimeTerrainSceneBounds(terrain: RuntimeTerrain): RuntimeSceneBoun
|
|||||||
const bounds = getTerrainBounds({
|
const bounds = getTerrainBounds({
|
||||||
...terrain,
|
...terrain,
|
||||||
kind: "terrain",
|
kind: "terrain",
|
||||||
enabled: true
|
enabled: true,
|
||||||
|
foliageMasks: {}
|
||||||
});
|
});
|
||||||
const min = cloneVec3(bounds.min);
|
const min = cloneVec3(bounds.min);
|
||||||
const max = cloneVec3(bounds.max);
|
const max = cloneVec3(bounds.max);
|
||||||
|
|||||||
Reference in New Issue
Block a user