Return smoothed drag end velocity with event

This commit is contained in:
Jess Telford 2016-09-28 22:42:51 +10:00
parent 691dc21a4d
commit c7d1fe0c0c
7 changed files with 177 additions and 12 deletions

View file

@ -1,3 +1,7 @@
import aframe from 'aframe';
import extras from 'aframe-extras';
import clickDragComponent from '../src/index';
extras.physics.registerAll(aframe);
clickDragComponent(aframe);