Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 105 bytes modified

beta.r3js.org
-=yb4f310 2017-11-14 13:03:59 +01:00
parent 54caa75c9f
commit 89380e5649
1 changed files with 4 additions and 0 deletions

View File

@ -219,6 +219,10 @@ if (this.mouseIsDown) {
if (mesh.instance.material.emissive) {
mesh.instance.material.emissive.add(this.toRed);
mesh.instance.material.emissive.add(this.toRed);
if (mesh.instance.material.emissive.r >= 1.0) {
console.log('!explode!');
}
}
}
}