auto-git:

[change] src/rendering/world-shader-sky.ts
This commit is contained in:
2026-04-22 16:12:20 +02:00
parent e8462dbfd0
commit 39111fc571

View File

@@ -138,7 +138,10 @@ function normalizeDirection(direction: Vec3, fallback: Vec3): Vec3 {
};
}
function offsetDirectionForHorizon(direction: Vec3, horizonHeight: number): Vec3 {
function offsetDirectionForHorizon(
direction: Vec3,
horizonHeight: number
): Vec3 {
if (Math.abs(horizonHeight) <= 1e-6) {
return direction;
}