auto-git:

[change] src/rendering/world-shader-sky.ts
This commit is contained in:
2026-04-25 02:17:55 +02:00
parent cb502fda4f
commit 032f5c1c7c

View File

@@ -123,6 +123,8 @@ function quantizeNumberToBucket(value: number, step: number): number {
return Math.round(value / step);
}
const AURORA_WORLD_ROTATION_RADIANS = 0;
function parseHexColor(colorHex: string): { r: number; g: number; b: number } {
return {
r: Number.parseInt(colorHex.slice(1, 3), 16),
@@ -401,7 +403,7 @@ export function resolveWorldShaderSkyRenderState(
speed: world.shaderSky.aurora.speed,
primaryColorHex: world.shaderSky.aurora.primaryColorHex,
secondaryColorHex: world.shaderSky.aurora.secondaryColorHex,
rotationRadians: skyRotationRadians + Math.PI * 0.5,
rotationRadians: AURORA_WORLD_ROTATION_RADIANS,
timeHours: continuousHours
}
};