comment out a console log

This commit is contained in:
Kevin Ngo
2018-10-19 16:34:34 -07:00
parent f89d29a5f7
commit 8560163540
2 changed files with 2 additions and 3 deletions

View File

@@ -62,9 +62,9 @@ AFRAME.registerComponent('saber-controls', {
if (distance > data.strokeMinSpeed) {
if (!this.startSwinging) { this.startSwinging = true; }
this.strokeAngle += ((Math.asin(((distance / 1000000) / 2.0) / 0.9)) / (2 * Math.PI)) * 360;
if (this.strokeAngle > data.strokeMinAngle) { this.swinging = true; }
if (this.strokeAngle > data.strokeMinAngle) { this.swinging = true; }
} else {
if (this.swinging) { console.log("ANGLE " + this.strokeAngle); }
// if (this.swinging) { console.log("ANGLE " + this.strokeAngle); }
this.swinging = false;
this.startSwinging = false;
this.strokeAngle = 0;

View File

@@ -14,7 +14,6 @@
<!-- Titles. -->
<a-entity id="inGameMenuTitles" position="0 1.7 -2.3">
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: #ff7171; width: 4" bind__visible="isGameOver"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEAR; color: #7171FF; width: 4" bind__visible="isVictory"></a-entity>
</a-entity>