add babylon in the code.
var $this = this;
window.addEventListener('resize', function(){
$this.engine.resize();
});
var $this = this;
window.addEventListener('resize', function(){
$this.engine.resize();
});
Why programmers like UNIX == unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep.
The post was edited 2 times, last by ZeroNull ().