forked from EXT/VR180-Web-Player
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
export const PLAYER_SELECTOR = '[data-vr-web-player]';
|
||||
|
||||
export type ProjectionMode = 'vr180' | 'plane';
|
||||
export type HeadLockMode = 'auto' | 'position' | 'none';
|
||||
|
||||
export const DEFAULT_PROJECTION: ProjectionMode = 'vr180';
|
||||
export const DEFAULT_HEAD_LOCK: HeadLockMode = 'auto';
|
||||
export const VALID_PROJECTIONS = new Set<ProjectionMode>(['vr180', 'plane']);
|
||||
export const VALID_HEAD_LOCKS = new Set<HeadLockMode>(['auto', 'position', 'none']);
|
||||
|
||||
export const PLANE_WIDTH = 3.2;
|
||||
export const PLANE_HEIGHT = PLANE_WIDTH * (9 / 16);
|
||||
|
||||
Reference in New Issue
Block a user