sebastien пре 6 година
родитељ
комит
fa55b225c0

+ 1 - 0
src/Animations/runtimeAnimation.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { Quaternion, Vector3, Vector2, Size, Color3, Matrix } from "Math/math";
 import { Quaternion, Vector3, Vector2, Size, Color3, Matrix } from "Math/math";
 import { Animatable } from "./animatable";
 import { Animatable } from "./animatable";
 import { Animation, AnimationEvent } from "./animation";
 import { Animation, AnimationEvent } from "./animation";

+ 1 - 0
src/Culling/boundingBox.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { Tools } from "Tools/tools";
 import { Tools } from "Tools/tools";
 import { Matrix, Vector3, Plane, Epsilon } from "Math/math";
 import { Matrix, Vector3, Plane, Epsilon } from "Math/math";
 import { BoundingSphere } from "Culling/boundingSphere";
 import { BoundingSphere } from "Culling/boundingSphere";

+ 1 - 0
src/Culling/boundingInfo.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { Tools } from "Tools/tools";
 import { Tools } from "Tools/tools";
 import { Matrix, Vector3, Plane } from "Math/math";
 import { Matrix, Vector3, Plane } from "Math/math";
 import { AbstractMesh } from "Mesh/abstractMesh";
 import { AbstractMesh } from "Mesh/abstractMesh";

+ 1 - 0
src/Culling/boundingSphere.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { Tools } from "Tools/tools";
 import { Tools } from "Tools/tools";
 import { Matrix, Vector3, Plane } from "Math/math";
 import { Matrix, Vector3, Plane } from "Math/math";
 
 

+ 1 - 1
src/Culling/ray.ts

@@ -1,5 +1,5 @@
+import { DeepImmutable, Nullable } from "types";
 import { Tools } from "Tools";
 import { Tools } from "Tools";
-import { Nullable } from "types";
 import { Matrix, Vector3, Plane, Tmp } from "Math";
 import { Matrix, Vector3, Plane, Tmp } from "Math";
 import { AbstractMesh } from "Mesh";
 import { AbstractMesh } from "Mesh";
 import { PickingInfo, IntersectionInfo } from "Collisions";
 import { PickingInfo, IntersectionInfo } from "Collisions";

+ 1 - 0
src/Math/math.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { Tools } from "Tools/tools";
 import { Tools } from "Tools/tools";
 import { Nullable, FloatArray, float } from "types";
 import { Nullable, FloatArray, float } from "types";
 import { Scalar } from "Math/math.scalar";
 import { Scalar } from "Math/math.scalar";

+ 1 - 0
src/Mesh/transformNode.ts

@@ -1,3 +1,4 @@
+import { DeepImmutable } from "types";
 import { serialize, serializeAsVector3, serializeAsQuaternion, SerializationHelper } from "Tools/decorators";
 import { serialize, serializeAsVector3, serializeAsQuaternion, SerializationHelper } from "Tools/decorators";
 import { Tags } from "Tools/tags";
 import { Tags } from "Tools/tags";
 import { Observable } from "Tools/observable";
 import { Observable } from "Tools/observable";

+ 0 - 1
src/types.ts

@@ -58,4 +58,3 @@
     /* interface DeepImmutableMap<K, V> extends ReadonlyMap<DeepImmutable<K>, DeepImmutable<V>> {} // es2015+ only */
     /* interface DeepImmutableMap<K, V> extends ReadonlyMap<DeepImmutable<K>, DeepImmutable<V>> {} // es2015+ only */
     /** @hidden */
     /** @hidden */
     type DeepImmutableObject<T> = { readonly [K in keyof T]: DeepImmutable<T[K]> };
     type DeepImmutableObject<T> = { readonly [K in keyof T]: DeepImmutable<T[K]> };
-}