浏览代码

Merge branch 'dev' into blending-take2

Michael Guerrero 11 年之前
父节点
当前提交
e95ff7d7cd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      docs/manual/introduction/Creating-a-scene.html

+ 3 - 3
docs/manual/introduction/Creating-a-scene.html

@@ -18,7 +18,7 @@
 		<div>Three.js is a library that makes WebGL - 3D in the browser - very easy. While a simple cube in raw WebGL would turn out hundreds of lines of Javascript and shader code, a Three.js equivalent is only a fraction of that.</div>
 
 		<h2>Before we start</h2>
-		<div>Before you can use Three.js, you need somewhere to display it. Save the following HTML to a file on your computer, and open it in your browser.</div>
+		<div>Before you can use Three.js, you need somewhere to display it. Save the following HTML to a file on your computer, along with a copy of <a href="http://threejs.org/build/three.min.js">three.min.js</a> in the js/ directory, and open it in your browser.</div>
 
 		<code>
 		&lt;html&gt;
@@ -27,7 +27,7 @@
 				&lt;style&gt;canvas { width: 100%; height: 100% }&lt;/style&gt;
 			&lt;/head&gt;
 			&lt;body&gt;
-				&lt;script src="https://rawgithub.com/mrdoob/three.js/master/build/three.js"&gt;&lt;/script&gt;
+				&lt;script src="js/three.min.js"&gt;&lt;/script&gt;
 				&lt;script&gt;
 					// Our Javascript will go here.
 				&lt;/script&gt;
@@ -121,7 +121,7 @@
 				&lt;style&gt;canvas { width: 100%; height: 100% }&lt;/style&gt;
 			&lt;/head&gt;
 			&lt;body&gt;
-				&lt;script src="three.min.js"&gt;&lt;/script&gt;
+				&lt;script src="js/three.min.js"&gt;&lt;/script&gt;
 				&lt;script&gt;
 					var scene = new THREE.Scene();
 					var camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000);