js/Mobilizing/renderer/2D/Dom/RendererDOM.js
import { Component } from '../Component';
/**
* RendererDOM is a Three js based renderer.
*/
export default class RendererDOM extends Component {
/**
* Initialization method
* @method setup Setup
*/
setup() {
console.log(this.getContext());
//init
}
on() {
super.on();
/*this.context.canvas.addEventListener( "touchstart", event => this.onTouchStart(event));
*/
}
off() {
super.off();
//this.context.canvas.removeEventListener( "touchstart", event => this.onTouchStart(event));
}
/**
* @method update
*/
update() {
//this.render();
}
}