Support a rotated camera
This commit is contained in:
parent
06b4b885fe
commit
2589c0bcc1
4 changed files with 31 additions and 21 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue