Browse Source

fixed #2732, including ThreeJS individual JavaScript files directly rather than using build/three.js

Ben Houston 12 years ago
parent
commit
d4201ca02c
1 changed files with 16 additions and 2 deletions
  1. 16 2
      test/index.html

+ 16 - 2
test/index.html

@@ -7,12 +7,26 @@
 </head>
 <body>
   <div id="qunit"></div>
-  <script src="../build/three.js"></script>
   <script src="qunit/qunit-1.10.0.js"></script>
-  <script src="core/Constants.js"></script>
+
+  <!-- add ThreeJS sources to test below -->
+
+  <script src="../src/Three.js"></script>
+  <script src="../src/math/Vector2.js"></script>
+  <script src="../src/math/Vector3.js"></script>
+  <script src="../src/math/Vector4.js"></script>
+  <script src="../src/math/Box2.js"></script>
+  <script src="../src/math/Box3.js"></script>
+  <script src="../src/math/Plane.js"></script>
+  <script src="../src/math/Ray.js"></script>
+  <script src="../src/math/Sphere.js"></script>
+  <script src="../src/math/Triangle3.js"></script>
+  <script src="../src/math/Matrix3.js"></script>
+  <script src="../src/math/Matrix4.js"></script>
 
   <!-- add class-based unit tests below -->
 
+  <script src="core/Constants.js"></script>
   <script src="core/Box2.js"></script>
   <script src="core/Box3.js"></script>
   <script src="core/Plane.js"></script>