Bläddra i källkod

Merge pull request #14382 from rtpHarry/patch-2

Docs - Creating A Scene - Fix typo and markup
Mr.doob 7 år sedan
förälder
incheckning
25bfd4d9e5
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      docs/manual/introduction/Creating-a-scene.html

+ 1 - 2
docs/manual/introduction/Creating-a-scene.html

@@ -113,8 +113,7 @@
 		cube.rotation.y += 0.01;
 		cube.rotation.y += 0.01;
 		</code>
 		</code>
 
 
-		<p>This will be run every frame (normally 60 times per second), and give the cube a nice rotation animation. Basically, anything you want to move or change while the app is running has to go through the animate loop. You can of course call other functions from there, so that you don't end up with a <strong>animate</strong> function that's hundreds of p.
-		</div>
+		<p>This will be run every frame (normally 60 times per second), and give the cube a nice rotation animation. Basically, anything you want to move or change while the app is running has to go through the animate loop. You can of course call other functions from there, so that you don't end up with a <strong>animate</strong> function that's hundreds of lines.</p>
 
 
 		<h2>The result</h2>
 		<h2>The result</h2>
 		<p>Congratulations! You have now completed your first three.js application. It's simple, you have to start somewhere.</p>
 		<p>Congratulations! You have now completed your first three.js application. It's simple, you have to start somewhere.</p>

粤ICP备19079148号