Kaynağa Gözat

Full relative

sebavan 6 yıl önce
ebeveyn
işleme
93a9b02a48
43 değiştirilmiş dosya ile 89 ekleme ve 90 silme
  1. 5 5
      src/Actions/action.ts
  2. 2 2
      src/Audio/audioSceneComponent.ts
  3. 2 2
      src/Culling/Octrees/octreeSceneComponent.ts
  4. 1 1
      src/Debug/debugLayer.ts
  5. 3 6
      src/Engines/Extensions/engine.occlusionQuery.ts
  6. 1 1
      src/Engines/Extensions/engine.transformFeedback.ts
  7. 4 3
      src/Engines/engine.ts
  8. 4 3
      src/Gamepads/Controllers/viveController.ts
  9. 3 3
      src/Gamepads/gamepadSceneComponent.ts
  10. 1 1
      src/Helpers/sceneHelpers.ts
  11. 1 1
      src/Layers/effectLayerSceneComponent.ts
  12. 1 1
      src/Layers/glowLayer.ts
  13. 1 1
      src/Layers/highlightLayer.ts
  14. 1 1
      src/Layers/layerSceneComponent.ts
  15. 1 1
      src/LensFlares/lensFlareSystemSceneComponent.ts
  16. 1 1
      src/Materials/Textures/Procedurals/proceduralTextureSceneComponent.ts
  17. 1 1
      src/Materials/Textures/baseTexture.ts
  18. 1 1
      src/Materials/Textures/internalTexture.ts
  19. 4 4
      src/Materials/Textures/texture.ts
  20. 6 6
      src/Materials/effect.ts
  21. 2 2
      src/Meshes/mesh.vertexData.ts
  22. 2 2
      src/Meshes/meshSimplificationSceneComponent.ts
  23. 1 1
      src/Misc/dds.ts
  24. 8 8
      src/Misc/decorators.ts
  25. 1 1
      src/Misc/tools.ts
  26. 2 2
      src/Particles/particleSystemComponent.ts
  27. 2 2
      src/Physics/physicsEngineComponent.ts
  28. 1 1
      src/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.ts
  29. 1 1
      src/PostProcesses/motionBlurPostProcess.ts
  30. 1 1
      src/PostProcesses/passPostProcess.ts
  31. 3 3
      src/PostProcesses/postProcess.ts
  32. 1 1
      src/PostProcesses/sharpenPostProcess.ts
  33. 1 1
      src/PostProcesses/tonemapPostProcess.ts
  34. 1 1
      src/PostProcesses/volumetricLightScatteringPostProcess.ts
  35. 1 1
      src/Probes/reflectionProbe.ts
  36. 2 2
      src/Rendering/boundingBoxRenderer.ts
  37. 1 1
      src/Rendering/depthRendererSceneComponent.ts
  38. 3 3
      src/Rendering/edgesRenderer.ts
  39. 1 1
      src/Rendering/geometryBufferRendererSceneComponent.ts
  40. 2 2
      src/Rendering/outlineRenderer.ts
  41. 2 2
      src/Rendering/renderingManager.ts
  42. 1 1
      src/Sprites/spriteSceneComponent.ts
  43. 5 5
      src/node.ts

+ 5 - 5
src/Actions/action.ts

@@ -2,13 +2,13 @@ import { Observable } from "../Misc/observable";
 import { Vector2, Vector3, Color3, Color4 } from "../Maths/math";
 import { Condition } from "./condition";
 
-declare type Scene = import("scene").Scene;
+declare type Scene = import("../scene").Scene;
 declare type ActionManager = import("./actionManager").ActionManager;
 declare type ActionEvent = import("./actionEvent").ActionEvent;
-declare type Mesh = import("Meshes/mesh").Mesh;
-declare type Light = import("Lights/light").Light;
-declare type Camera = import("Cameras/camera").Camera;
-declare type Node = import("node").Node;
+declare type Mesh = import("../Meshes/mesh").Mesh;
+declare type Light = import("../Lights/light").Light;
+declare type Camera = import("../Cameras/camera").Camera;
+declare type Node = import("../node").Node;
 
     /**
      * The action to be carried out following a trigger

+ 2 - 2
src/Audio/audioSceneComponent.ts

@@ -37,7 +37,7 @@ import { AssetContainer } from "../assetContainer";
         loadedSounds = [];
     });
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of sounds used in the scene.
@@ -46,7 +46,7 @@ declare module "abstractScene" {
     }
 }
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /**
          * @hidden

+ 2 - 2
src/Culling/Octrees/octreeSceneComponent.ts

@@ -9,7 +9,7 @@ import { SceneComponentConstants } from "../../sceneComponent";
 
 import { Octree } from "./octree";
 
-declare module "scene" {
+declare module "../../scene" {
     export interface Scene {
         /**
          * @hidden
@@ -61,7 +61,7 @@ declare module "scene" {
         configurable: true
     });
 
-declare module "Meshes/abstractMesh" {
+declare module "../../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /**
          * @hidden

+ 1 - 1
src/Debug/debugLayer.ts

@@ -77,7 +77,7 @@ import { Scene } from "../scene";
         explorerExtensibility?: IExplorerExtensibilityGroup[];
     }
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /**
          * @hidden

+ 3 - 6
src/Engines/Extensions/engine.occlusionQuery.ts

@@ -4,10 +4,7 @@ import { AbstractMesh } from "../../Meshes/abstractMesh";
 import { _TimeToken } from "../../Instrumentation/timeToken";
 
 /** @hidden */
-export var _forceOcclusionQueryToBundle = true;
-
-    /** @hidden */
-    class _OcclusionDataStorage {
+export class _OcclusionDataStorage {
         /** @hidden */
         public occlusionInternalRetryCounter = 0;
 
@@ -27,7 +24,7 @@ export var _forceOcclusionQueryToBundle = true;
         public occlusionQueryAlgorithmType = AbstractMesh.OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE;
     }
 
-declare module "Engines/engine" {
+declare module "../../Engines/engine" {
     export interface Engine {
         /**
          * Create a new webGL query (you must be sure that queries are supported by checking getCaps() function)
@@ -278,7 +275,7 @@ declare module "Engines/engine" {
         return algorithmType === AbstractMesh.OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE ? this._gl.ANY_SAMPLES_PASSED_CONSERVATIVE : this._gl.ANY_SAMPLES_PASSED;
     };
 
-declare module "Meshes/abstractMesh" {
+declare module "../../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /**
          * Backing filed

+ 1 - 1
src/Engines/Extensions/engine.transformFeedback.ts

@@ -5,7 +5,7 @@ import { _TimeToken } from "../../Instrumentation/timeToken";
 /** @hidden */
 export var _forceTransformFeedbackToBundle = true;
 
-declare module "Engines/engine" {
+declare module "../../Engines/engine" {
     export interface Engine {
         /**
          * Creates a webGL transform feedback object

+ 4 - 3
src/Engines/engine.ts

@@ -30,9 +30,10 @@ import { _DepthCullingState, _StencilState, _AlphaState } from "../States/index"
 import { Constants } from "./constants";
 import { DomManagement } from "../Misc/domManagement";
 import { Logger } from "../Misc/logger";
-declare type Texture = import("Materials/Textures/texture").Texture;
-declare type VideoTexture = import("Materials/Textures/videoTexture").VideoTexture;
-declare type RenderTargetTexture = import("Materials/Textures/renderTargetTexture").RenderTargetTexture;
+
+declare type Texture = import("../Materials/Textures/texture").Texture;
+declare type VideoTexture = import("../Materials/Textures/videoTexture").VideoTexture;
+declare type RenderTargetTexture = import("../Materials/Textures/renderTargetTexture").RenderTargetTexture;
 
     /**
      * Keeps track of all the buffer info used in engine.

+ 4 - 3
src/Gamepads/Controllers/viveController.ts

@@ -7,6 +7,7 @@ import { _DepthCullingState, _StencilState, _AlphaState } from "../../States/ind
 import { WebVRController } from "./webVRController";
 import { PoseEnabledControllerType, ExtendedGamepadButton, PoseEnabledControllerHelper } from "./poseEnabledController";
 import { GamepadButtonChanges } from "../../Gamepads/gamepad";
+import { Observable } from '../../Misc/observable';
 
     /**
      * Vive Controller
@@ -60,21 +61,21 @@ import { GamepadButtonChanges } from "../../Gamepads/gamepad";
         /**
          * Fired when the left button on this controller is modified
          */
-        public get onLeftButtonStateChangedObservable() {
+        public get onLeftButtonStateChangedObservable(): Observable<ExtendedGamepadButton> {
             return this.onMainButtonStateChangedObservable;
         }
 
         /**
          * Fired when the right button on this controller is modified
          */
-        public get onRightButtonStateChangedObservable() {
+        public get onRightButtonStateChangedObservable(): Observable<ExtendedGamepadButton> {
             return this.onMainButtonStateChangedObservable;
         }
 
         /**
          * Fired when the menu button on this controller is modified
          */
-        public get onMenuButtonStateChangedObservable() {
+        public get onMenuButtonStateChangedObservable(): Observable<ExtendedGamepadButton> {
             return this.onSecondaryButtonStateChangedObservable;
         }
 

+ 3 - 3
src/Gamepads/gamepadSceneComponent.ts

@@ -11,7 +11,7 @@ import { FreeCameraGamepadInput } from "../Cameras/Inputs/freeCameraGamepadInput
 import { ArcRotateCameraInputsManager } from "../Cameras/arcRotateCameraInputsManager";
 import { ArcRotateCameraGamepadInput } from "../Cameras/Inputs/arcRotateCameraGamepadInput";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden */
         _gamepadManager: Nullable<GamepadManager>;
@@ -41,7 +41,7 @@ declare module "scene" {
         configurable: true
     });
 
-declare module "Cameras/freeCameraInputsManager" {
+declare module "../Cameras/freeCameraInputsManager" {
     /**
      * Interface representing a free camera inputs manager
      */
@@ -62,7 +62,7 @@ declare module "Cameras/freeCameraInputsManager" {
         return this;
     };
 
-declare module "Cameras/arcRotateCameraInputsManager" {
+declare module "../Cameras/arcRotateCameraInputsManager" {
     /**
      * Interface representing an arc rotate camera inputs manager
      */

+ 1 - 1
src/Helpers/sceneHelpers.ts

@@ -21,7 +21,7 @@ import { VRExperienceHelperOptions, VRExperienceHelper } from "../Cameras/VR/vrE
 /** @hidden */
 export var _forceSceneHelpersToBundle = true;
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /**
          * Creates a default light for the scene.

+ 1 - 1
src/Layers/effectLayerSceneComponent.ts

@@ -23,7 +23,7 @@ import { AssetContainer } from "../assetContainer";
         }
     });
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of effect layers (highlights/glow) added to the scene

+ 1 - 1
src/Layers/glowLayer.ts

@@ -21,7 +21,7 @@ import { Constants } from "../Engines/constants";
 import "../Shaders/glowMapMerge.fragment";
 import "../Shaders/glowMapMerge.vertex";
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * Return a the first highlight layer of the scene with a given name.

+ 1 - 1
src/Layers/highlightLayer.ts

@@ -28,7 +28,7 @@ import "../Shaders/glowMapMerge.fragment";
 import "../Shaders/glowMapMerge.vertex";
 import "../Shaders/glowBlurPostProcess.fragment";
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * Return a the first highlight layer of the scene with a given name.

+ 1 - 1
src/Layers/layerSceneComponent.ts

@@ -7,7 +7,7 @@ import { _DepthCullingState, _StencilState, _AlphaState } from "../States/index"
 import { Layer } from "./layer";
 import { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of layers (background and foreground) of the scene

+ 1 - 1
src/LensFlares/lensFlareSystemSceneComponent.ts

@@ -24,7 +24,7 @@ import { LensFlareSystem } from "./lensFlareSystem";
         }
     });
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of lens flare system added to the scene

+ 1 - 1
src/Materials/Textures/Procedurals/proceduralTextureSceneComponent.ts

@@ -7,7 +7,7 @@ import { Layer } from "../../../Layers/layer";
 
 import { ProceduralTexture } from "./proceduralTexture";
 
-declare module "abstractScene" {
+declare module "../../../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of procedural textures added to the scene

+ 1 - 1
src/Materials/Textures/baseTexture.ts

@@ -12,7 +12,7 @@ import { _TimeToken } from "../../Instrumentation/timeToken";
 import { _DepthCullingState, _StencilState, _AlphaState } from "../../States/index";
 import { Constants } from "../../Engines/constants";
 
-declare type Animation = import("Animations/animation").Animation;
+declare type Animation = import("../../Animations/animation").Animation;
 
     /**
      * Base class of all the textures in babylon.

+ 1 - 1
src/Materials/Textures/internalTexture.ts

@@ -7,7 +7,7 @@ import { _TimeToken } from "../../Instrumentation/timeToken";
 import { _DepthCullingState, _StencilState, _AlphaState } from "../../States/index";
 import { Constants } from "../../Engines/constants";
 
-declare type BaseTexture = import("Materials/Textures/baseTexture").BaseTexture;
+declare type BaseTexture = import("../../Materials/Textures/baseTexture").BaseTexture;
 
     /**
      * Class used to store data associated with WebGL texture data for the engine

+ 4 - 4
src/Materials/Textures/texture.ts

@@ -8,10 +8,10 @@ import { BaseTexture } from "../../Materials/Textures/baseTexture";
 import { Constants } from "../../Engines/constants";
 import { _AlphaState } from "../../States/index";
 
-declare type Animation = import("Animations/animation").Animation;
-declare type CubeTexture = import("Materials/Textures/cubeTexture").CubeTexture;
-declare type MirrorTexture = import("Materials/Textures/mirrorTexture").MirrorTexture;
-declare type RenderTargetTexture = import ("Materials/Textures/renderTargetTexture").RenderTargetTexture;
+declare type Animation = import("../../Animations/animation").Animation;
+declare type CubeTexture = import("../../Materials/Textures/cubeTexture").CubeTexture;
+declare type MirrorTexture = import("../../Materials/Textures/mirrorTexture").MirrorTexture;
+declare type RenderTargetTexture = import("../../Materials/Textures/renderTargetTexture").RenderTargetTexture;
 
     /**
      * This represents a texture in babylon. It can be easily loaded from a network, base64 or html input.

+ 6 - 6
src/Materials/effect.ts

@@ -5,12 +5,12 @@ import { Constants } from "../Engines/constants";
 import { DomManagement } from "../Misc/domManagement";
 import { Logger } from "../Misc/logger";
 
-declare type Engine = import("Engines/engine").Engine;
-declare type InternalTexture = import("Materials/Textures/internalTexture").InternalTexture;
-declare type BaseTexture  = import("Materials/Textures/baseTexture").BaseTexture;
-declare type RenderTargetTexture = import("Materials/Textures/renderTargetTexture").RenderTargetTexture;
-declare type PostProcess = import("PostProcesses/postProcess").PostProcess;
-declare type AbstractMesh = import("Meshes/abstractMesh").AbstractMesh;
+declare type Engine = import("../Engines/engine").Engine;
+declare type InternalTexture = import("../Materials/Textures/internalTexture").InternalTexture;
+declare type BaseTexture  = import("../Materials/Textures/baseTexture").BaseTexture;
+declare type RenderTargetTexture = import("../Materials/Textures/renderTargetTexture").RenderTargetTexture;
+declare type PostProcess = import("../PostProcesses/postProcess").PostProcess;
+declare type AbstractMesh = import("../Meshes/abstractMesh").AbstractMesh;
     /**
      * EffectFallbacks can be used to add fallbacks (properties to disable) to certain properties when desired to improve performance.
      * (Eg. Start at high quality with reflection and fog, if fps is low, remove reflection, if still low remove fog)

+ 2 - 2
src/Meshes/mesh.vertexData.ts

@@ -2,8 +2,8 @@ import { Nullable, FloatArray, IndicesArray } from "../types";
 import { Matrix, Vector3, Vector2, Color3, Color4, Vector4, Axis, Epsilon } from "../Maths/math";
 import { VertexBuffer } from "../Meshes/buffer";
 
-declare type Geometry = import("Meshes/geometry").Geometry;
-declare type Mesh = import("Meshes/mesh").Mesh;
+declare type Geometry = import("../Meshes/geometry").Geometry;
+declare type Mesh = import("../Meshes/mesh").Mesh;
 
     /**
      * Define an interface for all classes that will get and set the data on vertices

+ 2 - 2
src/Meshes/meshSimplificationSceneComponent.ts

@@ -3,7 +3,7 @@ import { Mesh } from "./mesh";
 import { SimplificationQueue, ISimplificationSettings, SimplificationType } from "./meshSimplification";
 import { SceneComponentConstants, ISceneComponent } from "../sceneComponent";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _simplificationQueue: SimplificationQueue;
@@ -34,7 +34,7 @@ declare module "scene" {
         configurable: true
     });
 
-declare module "Meshes/mesh" {
+declare module "../Meshes/mesh" {
     export interface Mesh {
         /**
          * Simplify the mesh according to the given array of settings.

+ 1 - 1
src/Misc/dds.ts

@@ -6,7 +6,7 @@ import { Nullable } from "../types";
 import { Logger } from "../Misc/logger";
 import { CubeMapToSphericalPolynomialTools } from "../Misc/HighDynamicRange/cubemapToSphericalPolynomial";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     // Based on demo done by Brandon Jones - http://media.tojicode.com/webgl-samples/dds.html
     // All values and structures referenced from:

+ 8 - 8
src/Misc/decorators.ts

@@ -2,14 +2,14 @@ import { Tags } from "../Misc/tags";
 import { Nullable } from "../types";
 import { Color4, Quaternion, Color3, Vector2, Vector3 } from "../Maths/math";
 
-declare type Scene = import("scene").Scene;
-declare type Camera = import("Cameras/camera").Camera;
-
-declare type ImageProcessingConfiguration = import("Materials/imageProcessingConfiguration").ImageProcessingConfiguration;
-declare type FresnelParameters = import("Materials/fresnelParameters").FresnelParameters;
-declare type ColorCurves = import("Materials/colorCurves").ColorCurves;
-declare type BaseTexture = import("Materials/Textures/baseTexture").BaseTexture;
-declare type IAnimatable = import("Misc/tools").IAnimatable;
+declare type Scene = import("../scene").Scene;
+declare type Camera = import("../Cameras/camera").Camera;
+
+declare type ImageProcessingConfiguration = import("../Materials/imageProcessingConfiguration").ImageProcessingConfiguration;
+declare type FresnelParameters = import("../Materials/fresnelParameters").FresnelParameters;
+declare type ColorCurves = import("../Materials/colorCurves").ColorCurves;
+declare type BaseTexture = import("../Materials/Textures/baseTexture").BaseTexture;
+declare type IAnimatable = import("../Misc/tools").IAnimatable;
 
     var __decoratorInitialStore = {};
     var __mergedStore = {};

+ 1 - 1
src/Misc/tools.ts

@@ -14,7 +14,7 @@ import { Constants } from "../Engines/constants";
 import { DomManagement } from "./domManagement";
 import { Logger } from "./logger";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     /**
      * Interface for any object that can request an animation frame

+ 2 - 2
src/Particles/particleSystemComponent.ts

@@ -39,7 +39,7 @@ import "../Shaders/particles.vertex";
         }
     });
 
-declare module "Engines/engine" {
+declare module "../Engines/engine" {
     export interface Engine {
         /**
          * Create an effect to use with particle systems.
@@ -82,7 +82,7 @@ declare module "Engines/engine" {
             samplers, defines, fallbacks, onCompiled, onError);
     };
 
-declare module "Meshes/mesh" {
+declare module "../Meshes/mesh" {
     export interface Mesh {
         /**
          * Returns an array populated with IParticleSystem objects whose the mesh is the emitter

+ 2 - 2
src/Physics/physicsEngineComponent.ts

@@ -13,7 +13,7 @@ import { PhysicsEngine } from "./physicsEngine";
 import { PhysicsImpostor } from "./physicsImpostor";
 import { PhysicsJoint } from "./physicsJoint";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _physicsEngine: Nullable<IPhysicsEngine>;
@@ -138,7 +138,7 @@ declare module "scene" {
         }
     };
 
-declare module "Meshes/abstractMesh" {
+declare module "../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /** @hidden */
         _physicsImpostor: Nullable<PhysicsImpostor>;

+ 1 - 1
src/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.ts

@@ -2,7 +2,7 @@ import { ISceneComponent, SceneComponentConstants } from "../../sceneComponent";
 import { PostProcessRenderPipelineManager } from "./postProcessRenderPipelineManager";
 import { Scene } from "../../scene";
 
-declare module "scene" {
+declare module "../../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _postProcessRenderPipelineManager: PostProcessRenderPipelineManager;

+ 1 - 1
src/PostProcesses/motionBlurPostProcess.ts

@@ -10,7 +10,7 @@ import { Scene } from "../scene";
 
 import "../Shaders/motionBlur.fragment";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     /**
      * The Motion Blur Post Process which blurs an image based on the objects velocity in scene.

+ 1 - 1
src/PostProcesses/passPostProcess.ts

@@ -6,7 +6,7 @@ import { PostProcess, PostProcessOptions } from "./postProcess";
 import "../Shaders/pass.fragment";
 import "../Shaders/passCube.fragment";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     /**
      * PassPostProcess which produces an output the same as it's input

+ 3 - 3
src/PostProcesses/postProcess.ts

@@ -11,9 +11,9 @@ import { Constants } from "../Engines/constants";
 
 import "../Shaders/postprocess.vertex";
 
-declare type InternalTexture  = import("Materials/Textures/internalTexture").InternalTexture;
-declare type WebVRFreeCamera = import("Cameras/VR/webVRCamera").WebVRFreeCamera;
-declare type Engine = import("Engines/engine").Engine;
+declare type InternalTexture  = import("../Materials/Textures/internalTexture").InternalTexture;
+declare type WebVRFreeCamera = import("../Cameras/VR/webVRCamera").WebVRFreeCamera;
+declare type Engine = import("../Engines/engine").Engine;
 
     /**
      * Size options for a post process

+ 1 - 1
src/PostProcesses/sharpenPostProcess.ts

@@ -6,7 +6,7 @@ import { Constants } from "../Engines/constants";
 
 import "../Shaders/sharpen.fragment";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
     /**
      * The SharpenPostProcess applies a sharpen kernel to every pixel
      * See http://en.wikipedia.org/wiki/Kernel_(image_processing)

+ 1 - 1
src/PostProcesses/tonemapPostProcess.ts

@@ -5,7 +5,7 @@ import { Constants } from "../Engines/constants";
 
 import "../Shaders/tonemap.fragment";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     /** Defines operator used for tonemapping */
     export enum TonemappingOperator {

+ 1 - 1
src/PostProcesses/volumetricLightScatteringPostProcess.ts

@@ -20,7 +20,7 @@ import "../Shaders/depth.vertex";
 import "../Shaders/volumetricLightScattering.fragment";
 import "../Shaders/volumetricLightScatteringPass.fragment";
 
-declare type Engine = import("Engines/engine").Engine;
+declare type Engine = import("../Engines/engine").Engine;
 
     /**
      *  Inspired by http://http.developer.nvidia.com/GPUGems3/gpugems3_ch13.html

+ 1 - 1
src/Probes/reflectionProbe.ts

@@ -7,7 +7,7 @@ import { AbstractScene } from "../abstractScene";
 import { Scene } from "../scene";
 import { Constants } from "../Engines/constants";
 
-declare module "abstractScene" {
+declare module "../abstractScene" {
     export interface AbstractScene {
         /**
          * The list of reflection probes added to the scene

+ 2 - 2
src/Rendering/boundingBoxRenderer.ts

@@ -15,7 +15,7 @@ import { ShaderMaterial } from "../Materials/shaderMaterial";
 import "../Shaders/color.fragment";
 import "../Shaders/color.vertex";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _boundingBoxRenderer: BoundingBoxRenderer;
@@ -60,7 +60,7 @@ declare module "scene" {
         return this._boundingBoxRenderer;
     };
 
-declare module "Meshes/abstractMesh" {
+declare module "../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /** @hidden (Backing field) */
         _showBoundingBox: boolean;

+ 1 - 1
src/Rendering/depthRendererSceneComponent.ts

@@ -7,7 +7,7 @@ import { Constants } from "../Engines/constants";
 import { ISceneComponent, SceneComponentConstants } from "../sceneComponent";
 import { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _depthRenderer: { [id: string]: DepthRenderer };

+ 3 - 3
src/Rendering/edgesRenderer.ts

@@ -15,7 +15,7 @@ import { Node } from "../node";
 import "../Shaders/line.fragment";
 import "../Shaders/line.vertex";
 
-declare module "Meshes/abstractMesh" {
+declare module "../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /**
          * Disables the mesh edge rendering mode
@@ -61,7 +61,7 @@ declare module "Meshes/abstractMesh" {
         configurable: true
     });
 
-declare module "Meshes/linesMesh" {
+declare module "../Meshes/linesMesh" {
     export interface LinesMesh {
         /**
          * Enables the edge rendering mode on the mesh.
@@ -80,7 +80,7 @@ declare module "Meshes/linesMesh" {
         return this;
     };
 
-declare module "Meshes/linesMesh" {
+declare module "../Meshes/linesMesh" {
     export interface InstancedLinesMesh {
         /**
          * Enables the edge rendering mode on the mesh.

+ 1 - 1
src/Rendering/geometryBufferRendererSceneComponent.ts

@@ -5,7 +5,7 @@ import { SmartArrayNoDuplicate } from "../Misc/smartArray";
 import { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
 import { GeometryBufferRenderer } from "./geometryBufferRenderer";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden (Backing field) */
         _geometryBufferRenderer: Nullable<GeometryBufferRenderer>;

+ 2 - 2
src/Rendering/outlineRenderer.ts

@@ -12,7 +12,7 @@ import { Material } from "../Materials/material";
 import "../Shaders/outline.fragment";
 import "../Shaders/outline.vertex";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden */
         _outlineRenderer: OutlineRenderer;
@@ -36,7 +36,7 @@ declare module "scene" {
         return this._outlineRenderer;
     };
 
-declare module "Meshes/abstractMesh" {
+declare module "../Meshes/abstractMesh" {
     export interface AbstractMesh {
         /** @hidden (Backing field) */
         _renderOutline: boolean;

+ 2 - 2
src/Rendering/renderingManager.ts

@@ -7,8 +7,8 @@ import { IParticleSystem } from "../Particles/IParticleSystem";
 import { Material } from "../Materials/material";
 import { RenderingGroup } from "./renderingGroup";
 
-declare type Scene = import("scene").Scene;
-declare type Camera = import("Cameras/camera").Camera;
+declare type Scene = import("../scene").Scene;
+declare type Camera = import("../Cameras/camera").Camera;
 
     /**
      * Interface describing the different options available in the rendering manager

+ 1 - 1
src/Sprites/spriteSceneComponent.ts

@@ -10,7 +10,7 @@ import { ISceneComponent, SceneComponentConstants } from "../sceneComponent";
 import { ActionEvent } from "../Actions/actionEvent";
 import { Constants } from "../Engines/constants";
 
-declare module "scene" {
+declare module "../scene" {
     export interface Scene {
         /** @hidden */
         _pointerOverSprite: Nullable<Sprite>;

+ 5 - 5
src/node.ts

@@ -6,12 +6,12 @@ import { IBehaviorAware, Behavior } from "./Behaviors/behavior";
 import { serialize } from "./Misc/decorators";
 import { Observable, Observer } from "./Misc/observable";
 
-declare type Animatable = import("Animations/animatable").Animatable;
-declare type AnimationPropertiesOverride = import("Animations/animationPropertiesOverride").AnimationPropertiesOverride;
-declare type Animation = import("Animations/animation").Animation;
-declare type AnimationRange = import("Animations/animation").AnimationRange;
+declare type Animatable = import("./Animations/animatable").Animatable;
+declare type AnimationPropertiesOverride = import("./Animations/animationPropertiesOverride").AnimationPropertiesOverride;
+declare type Animation = import("./Animations/animation").Animation;
+declare type AnimationRange = import("./Animations/animation").AnimationRange;
 
-declare type AbstractMesh = import("Meshes/abstractMesh").AbstractMesh;
+declare type AbstractMesh = import("./Meshes/abstractMesh").AbstractMesh;
 
     /**
      * Defines how a node can be built from a string name.