jmiskovic / lovr-cam

Orbiting camera library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lovr-cam

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

About

Orbiting camera library

License:MIT License


Languages

Language:Lua 100.0%