Bläddra i källkod

Fix include order in non-default builds

Frustum depends on Sphere, so Sphere must be first in the source list
for the non-minified three.js to work.
Olli Etuaho 11 år sedan
förälder
incheckning
1a396c769a

+ 1 - 1
utils/build/includes/css3d.json

@@ -10,8 +10,8 @@
 	"src/math/Matrix3.js",
 	"src/math/Matrix4.js",
 	"src/math/Box3.js",
-	"src/math/Frustum.js",
 	"src/math/Sphere.js",
+	"src/math/Frustum.js",
 	"src/math/Plane.js",
 	"src/core/EventDispatcher.js",
 	"src/core/Object3D.js",

+ 1 - 1
utils/build/includes/math.json

@@ -12,9 +12,9 @@
 	"src/math/Matrix3.js",
 	"src/math/Matrix4.js",
 	"src/math/Ray.js",
+	"src/math/Sphere.js",
 	"src/math/Frustum.js",
 	"src/math/Plane.js",
-	"src/math/Sphere.js",
 	"src/math/Math.js",
 	"src/math/Spline.js",
 	"src/math/Triangle.js"

+ 1 - 1
utils/build/includes/webgl.json

@@ -8,13 +8,13 @@
 	"src/math/Euler.js",
 	"src/math/Matrix3.js",
 	"src/math/Matrix4.js",
-	"src/math/Frustum.js",
 	"src/math/Math.js",
 	"src/math/Spline.js",
 	"src/math/Box2.js",
 	"src/math/Box3.js",
 	"src/math/Triangle.js",
 	"src/math/Sphere.js",
+	"src/math/Frustum.js",
 	"src/math/Plane.js",
 	"src/core/Clock.js",
 	"src/core/EventDispatcher.js",