|
@@ -2,21 +2,27 @@ import { Tools } from "Tools";
|
|
import { Nullable } from "types";
|
|
import { Nullable } from "types";
|
|
import { Camera } from "Cameras";
|
|
import { Camera } from "Cameras";
|
|
import { Scene } from "scene";
|
|
import { Scene } from "scene";
|
|
-import { Vector3, Color3, Color4 } from "Math";
|
|
|
|
-import { Mesh, AbstractMesh, Geometry, TransformNode, BoxGeometry, SphereGeometry, CylinderGeometry, TorusGeometry, GroundGeometry, PlaneGeometry, TorusKnotGeometry } from "Mesh";
|
|
|
|
-import { Material, CubeTexture, HDRCubeTexture } from "Materials";
|
|
|
|
-import { Animation, AnimationGroup } from "Animations";
|
|
|
|
-import { Light } from "Lights";
|
|
|
|
|
|
+import { Vector3, Color3, Color4 } from "Math/math";
|
|
|
|
+import { Mesh } from "Mesh/mesh";
|
|
|
|
+import { AbstractMesh } from "Mesh/abstractMesh";
|
|
|
|
+import { Geometry, BoxGeometry, SphereGeometry, CylinderGeometry, TorusGeometry, GroundGeometry, PlaneGeometry, TorusKnotGeometry } from "Mesh/geometry";
|
|
|
|
+import { TransformNode } from "Mesh/transformNode";
|
|
|
|
+import { Material } from "Materials/material";
|
|
|
|
+import { CubeTexture } from "Materials/Textures/cubeTexture";
|
|
|
|
+import { HDRCubeTexture } from "Materials/Textures/hdrCubeTexture";
|
|
|
|
+import { Animation } from "Animations/animation";
|
|
|
|
+import { AnimationGroup } from "Animations/animationGroup";
|
|
|
|
+import { Light } from "Lights/light";
|
|
import { SceneComponentConstants } from "sceneComponent";
|
|
import { SceneComponentConstants } from "sceneComponent";
|
|
-import { _TimeToken } from "Instrumentation";
|
|
|
|
-import { SceneLoader } from "Loading";
|
|
|
|
|
|
+import { _TimeToken } from "Instrumentation/timeToken";
|
|
|
|
+import { SceneLoader } from "Loading/sceneLoader";
|
|
import { _DepthCullingState, _StencilState, _AlphaState } from "States";
|
|
import { _DepthCullingState, _StencilState, _AlphaState } from "States";
|
|
import { AbstractScene } from "abstractScene";
|
|
import { AbstractScene } from "abstractScene";
|
|
import { AssetContainer } from "assetContainer";
|
|
import { AssetContainer } from "assetContainer";
|
|
-import { ActionManager } from "Actions";
|
|
|
|
-import { IParticleSystem } from "Particles";
|
|
|
|
-import { Skeleton } from "Bones";
|
|
|
|
-import { MorphTargetManager } from "Morph";
|
|
|
|
|
|
+import { ActionManager } from "Actions/actionManager";
|
|
|
|
+import { IParticleSystem } from "Particles/IParticleSystem";
|
|
|
|
+import { Skeleton } from "Bones/skeleton";
|
|
|
|
+import { MorphTargetManager } from "Morph/morphTargetManager";
|
|
import { CannonJSPlugin, OimoJSPlugin } from "Physics";
|
|
import { CannonJSPlugin, OimoJSPlugin } from "Physics";
|
|
var parseMaterialById = (id: string, parsedData: any, scene: Scene, rootUrl: string) => {
|
|
var parseMaterialById = (id: string, parsedData: any, scene: Scene, rootUrl: string) => {
|
|
for (var index = 0, cache = parsedData.materials.length; index < cache; index++) {
|
|
for (var index = 0, cache = parsedData.materials.length; index < cache; index++) {
|