satoshinm / NetCraft

Web-based fork of fogleman/Craft ⛺
https://satoshinm.github.io/NetCraft/
MIT License
57 stars 13 forks source link

[VR] Use window size as vr size, allow resizing by retoggling to reinitialize #183

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

This is useful for displaying on non-DK2 devices, which don't have 1920x1080 resolution. The window size has to be set correctly when VR is initialized, but if it isn't, it can be reinitialized by retoggling (F4) to start over. That is, the workflow is: setup your VR device, then enter VR mode.