Not sure why that was a FIXME, there was nothing to fix...
[pwl6.git] / src / pwl6.js
index dc50206..4e87c18 100644 (file)
@@ -243,10 +243,9 @@ var AnimationQueue = yT(yuu.C, {
                 params: params,
                 resolve: resolve
             });
-            // FIXME: Simply chaining the promise doesn't work here
-            // because the tick between the two handlers is often long
-            // enough to render a frame, and that frame will have some
-            // undesirable intermediate state.
+            // Chaining the promise doesn't work here because the tick
+            // between the two handlers is often long enough to render
+            // a frame with some undesirable intermediate state.
             if (this._queue.length === 1)
                 this._runNext();
         }.bind(this));
@@ -580,9 +579,10 @@ HandScene = yT(yuu.Scene, {
         this.right.addChild(r);
         var SIZE_X = yuu.random.gauss(1.2, 0.15) * 0.35;
         var SIZE_Y = yuu.random.gauss(1.1, 0.05) * 0.51;
-        var hand = yuu.random.randrange(3);
-        this.leftQuad.texBounds = this.rightQuad.texBounds = [
-            hand / 2.99, 0, (hand + 1) / 3.01, 1];
+        var handLeft = yuu.random.randrange(4);
+        var handRight = yuu.random.randrange(4);
+        this.leftQuad.texBounds = [handLeft / 4, 0, (handLeft + 1) / 4, 1];
+        this.rightQuad.texBounds = [handRight / 4, 0, (handRight + 1) / 4, 1];
         this.layer0.resize(-0.75, 0, 1.5, 1.5);
         var leftWrist = new yuu.E(
             new yuu.Transform([-0.20, 0, 0], null,
@@ -1715,7 +1715,7 @@ BookScene = new yT(yuu.Scene, {
             p = this.layer0.worldFromDevice(p);
             if (this.current === BOOK_FORWARD.length - 1
                 && this.LOGOTYPE.contains(p)) {
-                yuu.openURL("http://www.yukkurigames.com/");
+                yuu.openURL("https://www.yukkurigames.com/");
             } else if (this.current === 0 && this.COLOPHON.contains(p)) {
                 yuu.director.showOverlay("colophon");
             } else if (this.current === 0 || p.x >= -0.2) {