2015-12-18 23:36:21 +00:00
|
|
|
import aframe from 'aframe';
|
2016-09-28 12:42:51 +00:00
|
|
|
import extras from 'aframe-extras';
|
2016-10-03 09:37:56 +00:00
|
|
|
import keyboardControls from 'aframe-keyboard-controls';
|
2015-12-18 23:36:21 +00:00
|
|
|
import clickDragComponent from '../src/index';
|
2016-09-28 12:42:51 +00:00
|
|
|
|
|
|
|
extras.physics.registerAll(aframe);
|
2016-10-03 09:37:56 +00:00
|
|
|
aframe.registerComponent('keyboard-controls', keyboardControls);
|
2015-12-18 23:36:21 +00:00
|
|
|
clickDragComponent(aframe);
|
2016-09-28 12:42:51 +00:00
|
|
|
|