16 lines
230 B
JavaScript
16 lines
230 B
JavaScript
|
const Proton_ = 'undefined' !== typeof window ? require('three.proton.js') : class {
|
||
|
|
||
|
static BaseRender() {
|
||
|
return class {};
|
||
|
}
|
||
|
|
||
|
};
|
||
|
|
||
|
export class Proton extends Proton_ {
|
||
|
|
||
|
tick(elapsed) {
|
||
|
this.update(elapsed);
|
||
|
}
|
||
|
|
||
|
}
|