Last corrections in tutorial

This commit is contained in:
Thomas FORGIONE 2015-08-31 10:03:21 +02:00
parent 6fecbd8898
commit 14701fdef7
1 changed files with 3 additions and 3 deletions

View File

@ -185,7 +185,7 @@ TutorialSteps.prototype.nextStep = function() {
break; break;
case 11: case 11:
Coin.max = 5; Coin.max = 5;
Coin.update(); Coin.set();
this.addCoin(new Coin(2.7378029903574026,2.953347730618792,-11.550836282321221, callback)); this.addCoin(new Coin(2.7378029903574026,2.953347730618792,-11.550836282321221, callback));
this.camera.move({ this.camera.move({
position: new THREE.Vector3(-0.3528994281499122,-0.026355227893303856,-0.2766844454377826), position: new THREE.Vector3(-0.3528994281499122,-0.026355227893303856,-0.2766844454377826),
@ -221,9 +221,9 @@ TutorialSteps.prototype.nextStep = function() {
for (var i = 2; i < cams.length; i++) { for (var i = 2; i < cams.length; i++) {
this.addRecommendation(cams[i]); this.addRecommendation(cams[i]);
} }
Coin.total = 1; Coin.total = 0;
Coin.max = 8; Coin.max = 8;
Coin.update(); Coin.set();
var coins = L3D.generateCoins(L3D.createPeachCoins()); var coins = L3D.generateCoins(L3D.createPeachCoins());
for (i = 0; i < coins.length; i++) { for (i = 0; i < coins.length; i++) {
coins[i].rotating = true; coins[i].rotating = true;