Commit 783f5ddf authored by “yiyousong”'s avatar “yiyousong”

perf:修改粒子背景速度

parent 78bda17f
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
this.particles.geometry.attributes.position.needsUpdate = true; this.particles.geometry.attributes.position.needsUpdate = true;
this.particles.geometry.attributes.scale.needsUpdate = true; this.particles.geometry.attributes.scale.needsUpdate = true;
this.renderer.render(this.scene, this.camera); this.renderer.render(this.scene, this.camera);
this.count += 0.1; this.count += 0.02;
}, },
animate() { animate() {
requestAnimationFrame(this.animate); requestAnimationFrame(this.animate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment