UNPKG

webvr-dom

Version:

A shim to support DOM rendering for VR devices

28 lines (27 loc) 610 B
var defaults = { update: true }; /* 1080: var HMD = { distortionK: [1.0, 0.22, 0.24, 0.0], chromaAbCorrection: [ 0.996, -0.004, 1.014, 0.0], hScreenSize: 0.12576, vScreenSize: 0.07074, hResolution: 1920, vResolution: 1080, eyeToScreenDistance: 0.041, interpupillaryDistance: 0.0635, lensSeparationDistance: 0.0635 } */ var HMD = { hScreenSize: 0.14976, vScreenSize: 0.0936, hResolution: 1280, vResolution: 800, distortionK: [1.0, 0.22, 0.24, 0.0], chromaAbCorrection: [ 0.996, -0.004, 1.014, 0.0], eyeToScreenDistance: 0.041, interpupillaryDistance: 0.064, lensSeparationDistance: 0.064 };