1
0

Typescript conversion

This commit is contained in:
Aiden
2026-06-10 10:35:14 +10:00
parent 91b612785b
commit d24e2021f2
17 changed files with 3609 additions and 1684 deletions

7
vr180player/config.js Normal file
View File

@@ -0,0 +1,7 @@
export const PLAYER_SELECTOR = '[data-vr-web-player]';
export const DEFAULT_PROJECTION = 'vr180';
export const VALID_PROJECTIONS = new Set(['vr180', 'plane']);
export const PLANE_WIDTH = 3.2;
export const PLANE_HEIGHT = PLANE_WIDTH * (9 / 16);
export const PLANE_DISTANCE = 3;
export const PLANE_2D_DISTANCE = 1.2;