fix(terrain): map surface colors with configurable projection

This commit is contained in:
Tom Boullay
2026-05-25 17:40:01 +02:00
parent 235a38f67b
commit 417afdc1d5
5 changed files with 42 additions and 37 deletions
+7 -2
View File
@@ -18,12 +18,17 @@ export interface TerrainSurfaceUv {
export interface TerrainSurfaceBounds {
minX: number;
maxX: number;
minY: number;
maxY: number;
minZ: number;
maxZ: number;
}
export interface TerrainSurfaceProjectionConfig {
flipX: boolean;
flipZ: boolean;
offsetX: number;
offsetZ: number;
}
export interface TerrainSurfaceColorConfig {
hex: string;
rgb: TerrainSurfaceRgb;