avocado-old/packages/graphics/proton/proton.js

16 lines
230 B
JavaScript
Raw Normal View History

2019-04-19 00:50:15 -05:00
const Proton_ = 'undefined' !== typeof window ? require('three.proton.js') : class {
static BaseRender() {
return class {};
}
};
export class Proton extends Proton_ {
tick(elapsed) {
this.update(elapsed);
}
}