Cleanup unused import and add constants for active arrow targeting

This commit is contained in:
2026-04-25 18:42:04 +02:00
parent 2e1b6a6d55
commit 9cddd117ce

View File

@@ -32,7 +32,6 @@ import {
SpotLight,
TextureLoader,
Texture,
TorusGeometry,
WebGLRenderTarget,
WebGLRenderer
} from "three";
@@ -338,6 +337,8 @@ const TARGETING_LUX_SWAY_RATE = 2.2;
const TARGETING_LUX_SWAY_DISTANCE = 0.22;
const TARGETING_LUX_BOB_RATE = 4.2;
const TARGETING_LUX_PULSE_RATE = 6.5;
const TARGETING_ACTIVE_ARROW_COUNT = 3;
const TARGETING_ACTIVE_ARROW_ORBIT_RATE = 1.6;
const TARGETING_DIRECTION_SWITCH_INPUT_THRESHOLD = 0.28;
const TARGETING_SCREEN_SWITCH_MIN_DISTANCE = 0.04;
const TARGETING_SCREEN_SWITCH_MIN_ALIGNMENT = 0.68;