Support a rotated camera

This commit is contained in:
Jess Telford 2016-10-03 20:37:56 +11:00
parent 06b4b885fe
commit 2589c0bcc1
4 changed files with 31 additions and 21 deletions

View file

@ -1,7 +1,9 @@
import aframe from 'aframe';
import extras from 'aframe-extras';
import keyboardControls from 'aframe-keyboard-controls';
import clickDragComponent from '../src/index';
extras.physics.registerAll(aframe);
aframe.registerComponent('keyboard-controls', keyboardControls);
clickDragComponent(aframe);