Trevor Baron 7 éve
szülő
commit
737bd6aa03
1 módosított fájl, 7 hozzáadás és 7 törlés
  1. 7 7
      src/Loading/Plugins/babylon.babylonFileLoader.ts

+ 7 - 7
src/Loading/Plugins/babylon.babylonFileLoader.ts

@@ -116,7 +116,7 @@
                     if (boxes !== undefined && boxes !== null) {
                     if (boxes !== undefined && boxes !== null) {
                         for (index = 0, cache = boxes.length; index < cache; index++) {
                         for (index = 0, cache = boxes.length; index < cache; index++) {
                             var parsedBox = boxes[index];
                             var parsedBox = boxes[index];
-                            addedGeometry.push(Geometry.Primitives.Box.Parse(parsedBox, scene));
+                            addedGeometry.push(BoxGeometry.Parse(parsedBox, scene));
                         }
                         }
                     }
                     }
 
 
@@ -125,7 +125,7 @@
                     if (spheres !== undefined && spheres !== null) {
                     if (spheres !== undefined && spheres !== null) {
                         for (index = 0, cache = spheres.length; index < cache; index++) {
                         for (index = 0, cache = spheres.length; index < cache; index++) {
                             var parsedSphere = spheres[index];
                             var parsedSphere = spheres[index];
-                            addedGeometry.push(Geometry.Primitives.Sphere.Parse(parsedSphere, scene));
+                            addedGeometry.push(SphereGeometry.Parse(parsedSphere, scene));
                         }
                         }
                     }
                     }
 
 
@@ -134,7 +134,7 @@
                     if (cylinders !== undefined && cylinders !== null) {
                     if (cylinders !== undefined && cylinders !== null) {
                         for (index = 0, cache = cylinders.length; index < cache; index++) {
                         for (index = 0, cache = cylinders.length; index < cache; index++) {
                             var parsedCylinder = cylinders[index];
                             var parsedCylinder = cylinders[index];
-                            addedGeometry.push(Geometry.Primitives.Cylinder.Parse(parsedCylinder, scene));
+                            addedGeometry.push(CylinderGeometry.Parse(parsedCylinder, scene));
                         }
                         }
                     }
                     }
 
 
@@ -143,7 +143,7 @@
                     if (toruses !== undefined && toruses !== null) {
                     if (toruses !== undefined && toruses !== null) {
                         for (index = 0, cache = toruses.length; index < cache; index++) {
                         for (index = 0, cache = toruses.length; index < cache; index++) {
                             var parsedTorus = toruses[index];
                             var parsedTorus = toruses[index];
-                            addedGeometry.push(Geometry.Primitives.Torus.Parse(parsedTorus, scene));
+                            addedGeometry.push(TorusGeometry.Parse(parsedTorus, scene));
                         }
                         }
                     }
                     }
 
 
@@ -152,7 +152,7 @@
                     if (grounds !== undefined && grounds !== null) {
                     if (grounds !== undefined && grounds !== null) {
                         for (index = 0, cache = grounds.length; index < cache; index++) {
                         for (index = 0, cache = grounds.length; index < cache; index++) {
                             var parsedGround = grounds[index];
                             var parsedGround = grounds[index];
-                            addedGeometry.push(Geometry.Primitives.Ground.Parse(parsedGround, scene));
+                            addedGeometry.push(GroundGeometry.Parse(parsedGround, scene));
                         }
                         }
                     }
                     }
 
 
@@ -161,7 +161,7 @@
                     if (planes !== undefined && planes !== null) {
                     if (planes !== undefined && planes !== null) {
                         for (index = 0, cache = planes.length; index < cache; index++) {
                         for (index = 0, cache = planes.length; index < cache; index++) {
                             var parsedPlane = planes[index];
                             var parsedPlane = planes[index];
-                            addedGeometry.push(Geometry.Primitives.Plane.Parse(parsedPlane, scene));
+                            addedGeometry.push(PlaneGeometry.Parse(parsedPlane, scene));
                         }
                         }
                     }
                     }
 
 
@@ -170,7 +170,7 @@
                     if (torusKnots !== undefined && torusKnots !== null) {
                     if (torusKnots !== undefined && torusKnots !== null) {
                         for (index = 0, cache = torusKnots.length; index < cache; index++) {
                         for (index = 0, cache = torusKnots.length; index < cache; index++) {
                             var parsedTorusKnot = torusKnots[index];
                             var parsedTorusKnot = torusKnots[index];
-                            addedGeometry.push(Geometry.Primitives.TorusKnot.Parse(parsedTorusKnot, scene));
+                            addedGeometry.push(TorusKnotGeometry.Parse(parsedTorusKnot, scene));
                         }
                         }
                     }
                     }