Update: CC - Mouse Move - Moorcow (8a0m30eevi.js) 142 bytes modified
parent
430297c466
commit
27552aa0f4
|
@ -88,15 +88,11 @@ intersects.map(
|
||||||
if (mesh.instance.material instanceof Array) {
|
if (mesh.instance.material instanceof Array) {
|
||||||
mesh.instance.material.map(
|
mesh.instance.material.map(
|
||||||
function(material) {
|
function(material) {
|
||||||
material.color.r -= 0.01;
|
material.color.addScalar(-0.01);
|
||||||
material.color.g -= 0.01;
|
|
||||||
material.color.b -= 0.01;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
mesh.instance.material.color.r -= 0.01;
|
mesh.instance.material.color.addScalar(-0.01);
|
||||||
mesh.instance.material.color.g -= 0.01;
|
|
||||||
mesh.instance.material.color.b -= 0.01;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue