Display the red coin counter at the right moment in the tutorial

This commit is contained in:
Thomas FORGIONE 2015-06-05 15:50:00 +02:00
parent 855a8ef590
commit a790c72867
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ TutorialSteps.prototype.nextStep = function() {
this.camera.allowed.keyboardRotate = true;
this.coins.push(new Coin(0.4911245636058468,1.225621525492101,-5.11526684540265, callback));
this.coins[this.coins.length-1].addToScene(this.scene);
document.getElementById('container').appendChild(Coin.domElement);
break;
case 4:
this.coins.push(new Coin(1.4074130964382279,0.6458319586843252,-6.75244526999632, callback));