Tiny orbiting camera module for LÖVR.
To use, simply place require('cam').integrate()
at the end of your main.lua
file. More advanced usage example is included.
Mouse controls:
- left click + drag - orbit camera around the center
- middle click + drag - pan camera; move the center
- left + middle + drag - pan camera vertically
- wheel up / down - zoom in and out