forked from n5ro/aframe-physics-system
-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.js
22 lines (19 loc) · 688 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var CANNON = require('cannon-es');
require('./src/components/math');
require('./src/components/body/ammo-body');
require('./src/components/body/body');
require('./src/components/body/dynamic-body');
require('./src/components/body/static-body');
require('./src/components/shape/shape');
require('./src/components/shape/ammo-shape')
require('./src/components/ammo-constraint');
require('./src/components/constraint');
require('./src/components/spring');
require('./src/system');
module.exports = {
registerAll: function () {
console.warn('registerAll() is deprecated. Components are automatically registered.');
}
};
// Export CANNON.js.
window.CANNON = window.CANNON || CANNON;