forked from EXT/VR180-Web-Player
- Add 2D rectilinear mode when VR is not supported - Implement mouse and touch drag controls for camera movement - Add proper pitch and yaw constraints (45°) for VR180 content boundaries - Reduce momentum damping from 0.9 to 0.8 for 50% less inertia - Show only left eye view in 2D mode for proper rectilinear projection - Constrain WebGL canvas to 16:9 aspect ratio matching video element - Add intuitive drag directions (drag down = look up, drag left = look right) - Prevent viewing empty areas beyond VR180 content coverage - Maintain smooth momentum-based camera movement with natural boundaries
53 KiB
53 KiB