From 2065cfa550eacb4b154beac4f6a25a6f1567c7d4 Mon Sep 17 00:00:00 2001 From: adrien Date: Thu, 8 Jun 2023 01:00:51 +0200 Subject: [PATCH] speed up unlocked minoes --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 75d31a4..3358558 100644 --- a/app.js +++ b/app.js @@ -208,7 +208,7 @@ NextQueue.prototype.positions = [P(0, 0, 0), P(0, -4, 0), P(0, -8, 0), P(0, -12, class Mino extends THREE.Mesh { constructor() { super(Mino.prototype.geometry) - this.velocity = P(5-10*Math.random(), 5-10*Math.random(), 5-10*Math.random()) + this.velocity = P(25-50*Math.random(), 25-50*Math.random(), 25-50*Math.random()) this.rotationAngle = P(Math.random(), Math.random(), Math.random()).normalize() this.angularVelocity = 5-10*Math.random() scene.add(this)