David Catuhe 10 éve
szülő
commit
2e6bc32694
100 módosított fájl, 1501 hozzáadás és 1265 törlés
  1. 862 808
      dist/preview release/babylon.d.ts
  2. 16 17
      dist/preview release/babylon.js
  3. 412 123
      dist/preview release/babylon.max.js
  4. 20 21
      dist/preview release/babylon.noworker.js
  5. 0 1
      src/Actions/babylon.action.js
  6. 0 1
      src/Actions/babylon.actionManager.js
  7. 0 1
      src/Actions/babylon.condition.js
  8. 0 1
      src/Actions/babylon.directActions.js
  9. 0 1
      src/Actions/babylon.interpolateValueAction.js
  10. 0 1
      src/Animations/babylon.animatable.js
  11. 0 1
      src/Animations/babylon.animation.js
  12. 0 1
      src/Animations/babylon.easing.js
  13. 0 1
      src/Audio/babylon.analyser.js
  14. 0 1
      src/Audio/babylon.audioEngine.js
  15. 0 1
      src/Audio/babylon.sound.js
  16. 0 1
      src/Audio/babylon.soundtrack.js
  17. 0 1
      src/Bones/babylon.bone.js
  18. 0 1
      src/Bones/babylon.skeleton.js
  19. 0 1
      src/Cameras/VR/babylon.vrDeviceOrientationCamera.js
  20. 0 1
      src/Cameras/VR/babylon.webVRCamera.js
  21. 0 1
      src/Cameras/babylon.arcRotateCamera.js
  22. 0 1
      src/Cameras/babylon.camera.js
  23. 0 1
      src/Cameras/babylon.deviceOrientationCamera.js
  24. 0 1
      src/Cameras/babylon.followCamera.js
  25. 0 1
      src/Cameras/babylon.freeCamera.js
  26. 0 1
      src/Cameras/babylon.gamepadCamera.js
  27. 0 1
      src/Cameras/babylon.stereoscopicCameras.js
  28. 0 1
      src/Cameras/babylon.targetCamera.js
  29. 0 1
      src/Cameras/babylon.touchCamera.js
  30. 0 1
      src/Cameras/babylon.virtualJoysticksCamera.js
  31. 0 1
      src/Collisions/babylon.collider.js
  32. 0 1
      src/Collisions/babylon.collisionCoordinator.js
  33. 3 7
      src/Collisions/babylon.collisionWorker.js
  34. 56 62
      src/Collisions/babylon.collisionWorker.ts
  35. 0 1
      src/Collisions/babylon.pickingInfo.js
  36. 0 1
      src/Culling/Octrees/babylon.octree.js
  37. 0 1
      src/Culling/Octrees/babylon.octreeBlock.js
  38. 0 1
      src/Culling/babylon.boundingBox.js
  39. 0 1
      src/Culling/babylon.boundingInfo.js
  40. 0 1
      src/Culling/babylon.boundingSphere.js
  41. 0 1
      src/Debug/babylon.debugLayer.js
  42. 0 1
      src/Layer/babylon.layer.js
  43. 0 1
      src/LensFlare/babylon.lensFlare.js
  44. 0 1
      src/LensFlare/babylon.lensFlareSystem.js
  45. 0 1
      src/Lights/Shadows/babylon.shadowGenerator.js
  46. 0 1
      src/Lights/babylon.directionalLight.js
  47. 0 1
      src/Lights/babylon.hemisphericLight.js
  48. 0 1
      src/Lights/babylon.light.js
  49. 0 1
      src/Lights/babylon.pointLight.js
  50. 0 1
      src/Lights/babylon.spotLight.js
  51. 0 1
      src/Loading/Plugins/babylon.babylonFileLoader.js
  52. 0 1
      src/Loading/babylon.sceneLoader.js
  53. 0 1
      src/Materials/Textures/Procedurals/babylon.customProceduralTexture.js
  54. 0 1
      src/Materials/Textures/Procedurals/babylon.proceduralTexture.js
  55. 0 1
      src/Materials/Textures/Procedurals/babylon.standardProceduralTexture.js
  56. 0 1
      src/Materials/Textures/babylon.baseTexture.js
  57. 0 1
      src/Materials/Textures/babylon.cubeTexture.js
  58. 0 1
      src/Materials/Textures/babylon.dynamicTexture.js
  59. 0 1
      src/Materials/Textures/babylon.mirrorTexture.js
  60. 0 1
      src/Materials/Textures/babylon.rawTexture.js
  61. 0 1
      src/Materials/Textures/babylon.renderTargetTexture.js
  62. 0 1
      src/Materials/Textures/babylon.texture.js
  63. 0 1
      src/Materials/Textures/babylon.videoTexture.js
  64. 0 1
      src/Materials/babylon.effect.js
  65. 0 1
      src/Materials/babylon.material.js
  66. 0 1
      src/Materials/babylon.multiMaterial.js
  67. 0 1
      src/Materials/babylon.pbrMaterial.js
  68. 0 1
      src/Materials/babylon.shaderMaterial.js
  69. 0 1
      src/Materials/babylon.standardMaterial.js
  70. 0 1
      src/Math/babylon.math.js
  71. 0 1
      src/Mesh/babylon.abstractMesh.js
  72. 0 1
      src/Mesh/babylon.csg.js
  73. 8 9
      src/Mesh/babylon.geometry.js
  74. 10 10
      src/Mesh/babylon.geometry.ts
  75. 0 1
      src/Mesh/babylon.groundMesh.js
  76. 0 1
      src/Mesh/babylon.instancedMesh.js
  77. 0 1
      src/Mesh/babylon.linesMesh.js
  78. 54 12
      src/Mesh/babylon.mesh.js
  79. 7 6
      src/Mesh/babylon.mesh.ts
  80. 47 98
      src/Mesh/babylon.mesh.vertexData.js
  81. 6 5
      src/Mesh/babylon.mesh.vertexData.ts
  82. 0 1
      src/Mesh/babylon.meshLODLevel.js
  83. 0 1
      src/Mesh/babylon.meshSimplification.js
  84. 0 1
      src/Mesh/babylon.polygonMesh.js
  85. 0 1
      src/Mesh/babylon.subMesh.js
  86. 0 1
      src/Mesh/babylon.vertexBuffer.js
  87. 0 1
      src/Particles/babylon.particle.js
  88. 0 1
      src/Particles/babylon.particleSystem.js
  89. 0 1
      src/Physics/Plugins/babylon.cannonJSPlugin.js
  90. 0 1
      src/Physics/Plugins/babylon.oimoJSPlugin.js
  91. 0 1
      src/Physics/babylon.physicsEngine.js
  92. 0 1
      src/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js
  93. 0 1
      src/PostProcess/RenderPipeline/babylon.postProcessRenderPass.js
  94. 0 1
      src/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js
  95. 0 1
      src/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js
  96. 0 1
      src/PostProcess/babylon.anaglyphPostProcess.js
  97. 0 1
      src/PostProcess/babylon.blackAndWhitePostProcess.js
  98. 0 1
      src/PostProcess/babylon.blurPostProcess.js
  99. 0 1
      src/PostProcess/babylon.colorCorrectionPostProcess.js
  100. 0 0
      src/PostProcess/babylon.convolutionPostProcess.js

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 862 - 808
dist/preview release/babylon.d.ts


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 16 - 17
dist/preview release/babylon.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 412 - 123
dist/preview release/babylon.max.js


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 20 - 21
dist/preview release/babylon.noworker.js


+ 0 - 1
src/Actions/babylon.action.js

@@ -67,4 +67,3 @@ var BABYLON;
     })();
     BABYLON.Action = Action;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.action.js.map

+ 0 - 1
src/Actions/babylon.actionManager.js

@@ -287,4 +287,3 @@ var BABYLON;
     })();
     BABYLON.ActionManager = ActionManager;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.actionManager.js.map

+ 0 - 1
src/Actions/babylon.condition.js

@@ -115,4 +115,3 @@ var BABYLON;
     })(Condition);
     BABYLON.StateCondition = StateCondition;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.condition.js.map

+ 0 - 1
src/Actions/babylon.directActions.js

@@ -202,4 +202,3 @@ var BABYLON;
     })(BABYLON.Action);
     BABYLON.StopSoundAction = StopSoundAction;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.directActions.js.map

+ 0 - 1
src/Actions/babylon.interpolateValueAction.js

@@ -62,4 +62,3 @@ var BABYLON;
     })(BABYLON.Action);
     BABYLON.InterpolateValueAction = InterpolateValueAction;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.interpolateValueAction.js.map

+ 0 - 1
src/Animations/babylon.animatable.js

@@ -100,4 +100,3 @@ var BABYLON;
     })();
     BABYLON.Animatable = Animatable;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.animatable.js.map

+ 0 - 1
src/Animations/babylon.animation.js

@@ -387,4 +387,3 @@ var BABYLON;
     })();
     BABYLON.Animation = Animation;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.animation.js.map

+ 0 - 1
src/Animations/babylon.easing.js

@@ -247,4 +247,3 @@ var BABYLON;
     })(EasingFunction);
     BABYLON.BezierCurveEase = BezierCurveEase;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.easing.js.map

+ 0 - 1
src/Audio/babylon.analyser.js

@@ -109,4 +109,3 @@ var BABYLON;
     })();
     BABYLON.Analyser = Analyser;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.analyser.js.map

+ 0 - 1
src/Audio/babylon.audioEngine.js

@@ -77,4 +77,3 @@ var BABYLON;
     })();
     BABYLON.AudioEngine = AudioEngine;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.audioEngine.js.map

+ 0 - 1
src/Audio/babylon.sound.js

@@ -379,4 +379,3 @@ var BABYLON;
     })();
     BABYLON.Sound = Sound;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.sound.js.map

+ 0 - 1
src/Audio/babylon.soundtrack.js

@@ -92,4 +92,3 @@ var BABYLON;
     })();
     BABYLON.SoundTrack = SoundTrack;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.soundtrack.js.map

+ 0 - 1
src/Bones/babylon.bone.js

@@ -79,4 +79,3 @@ var BABYLON;
     })(BABYLON.Node);
     BABYLON.Bone = Bone;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.bone.js.map

+ 0 - 1
src/Bones/babylon.skeleton.js

@@ -74,4 +74,3 @@ var BABYLON;
     })();
     BABYLON.Skeleton = Skeleton;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.skeleton.js.map

+ 0 - 1
src/Cameras/VR/babylon.vrDeviceOrientationCamera.js

@@ -45,4 +45,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.VRDeviceOrientationFreeCamera = VRDeviceOrientationFreeCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.vrDeviceOrientationCamera.js.map

+ 0 - 1
src/Cameras/VR/babylon.webVRCamera.js

@@ -71,4 +71,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.WebVRFreeCamera = WebVRFreeCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.webVRCamera.js.map

+ 0 - 1
src/Cameras/babylon.arcRotateCamera.js

@@ -553,4 +553,3 @@ var BABYLON;
     })(BABYLON.TargetCamera);
     BABYLON.ArcRotateCamera = ArcRotateCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.arcRotateCamera.js.map

+ 0 - 1
src/Cameras/babylon.camera.js

@@ -525,4 +525,3 @@ var BABYLON;
     })(BABYLON.Node);
     BABYLON.Camera = Camera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.camera.js.map

+ 0 - 1
src/Cameras/babylon.deviceOrientationCamera.js

@@ -69,4 +69,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.DeviceOrientationCamera = DeviceOrientationCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.deviceOrientationCamera.js.map

+ 0 - 1
src/Cameras/babylon.followCamera.js

@@ -84,4 +84,3 @@ var BABYLON;
     })(BABYLON.TargetCamera);
     BABYLON.ArcFollowCamera = ArcFollowCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.followCamera.js.map

+ 0 - 1
src/Cameras/babylon.freeCamera.js

@@ -223,4 +223,3 @@ var BABYLON;
     })(BABYLON.TargetCamera);
     BABYLON.FreeCamera = FreeCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.freeCamera.js.map

+ 0 - 1
src/Cameras/babylon.gamepadCamera.js

@@ -49,4 +49,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.GamepadCamera = GamepadCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.gamepadCamera.js.map

+ 0 - 1
src/Cameras/babylon.stereoscopicCameras.js

@@ -60,4 +60,3 @@ var BABYLON;
     })(BABYLON.GamepadCamera);
     BABYLON.StereoscopicGamepadCamera = StereoscopicGamepadCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.stereoscopicCameras.js.map

+ 0 - 1
src/Cameras/babylon.targetCamera.js

@@ -244,4 +244,3 @@ var BABYLON;
     })(BABYLON.Camera);
     BABYLON.TargetCamera = TargetCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.targetCamera.js.map

+ 0 - 1
src/Cameras/babylon.touchCamera.js

@@ -113,4 +113,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.TouchCamera = TouchCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.touchCamera.js.map

+ 0 - 1
src/Cameras/babylon.virtualJoysticksCamera.js

@@ -49,4 +49,3 @@ var BABYLON;
     })(BABYLON.FreeCamera);
     BABYLON.VirtualJoysticksCamera = VirtualJoysticksCamera;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.virtualJoysticksCamera.js.map

+ 0 - 1
src/Collisions/babylon.collider.js

@@ -270,4 +270,3 @@ var BABYLON;
     })();
     BABYLON.Collider = Collider;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.collider.js.map

+ 0 - 1
src/Collisions/babylon.collisionCoordinator.js

@@ -271,4 +271,3 @@ var BABYLON;
     })();
     BABYLON.CollisionCoordinatorLegacy = CollisionCoordinatorLegacy;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.collisionCoordinator.js.map

+ 3 - 7
src/Collisions/babylon.collisionWorker.js

@@ -44,8 +44,7 @@ var BABYLON;
         }
         CollideWorker.prototype.collideWithWorld = function (position, velocity, maximumRetry, excludedMeshUniqueId) {
             //TODO CollisionsEpsilon should be defined here and not in the engine.
-            var closeDistance = 0.01;
-            //is initializing here correct? A quick look - looks like it is fine.
+            var closeDistance = 0.01; //is initializing here correct? A quick look - looks like it is fine.
             if (this.collider.retry >= maximumRetry) {
                 this.finalPosition.copyFrom(position);
                 return;
@@ -91,17 +90,14 @@ var BABYLON;
             //return colTransMat;
         };
         CollideWorker.prototype.processCollisionsForSubMeshes = function (transformMatrix, mesh) {
-            var len;
-            var subMeshes;
-            // No Octrees for now
             //if (this._submeshesOctree && this.useOctreeForCollisions) {
             //    var radius = collider.velocityWorldLength + Math.max(collider.radius.x, collider.radius.y, collider.radius.z);
             //    var intersections = this._submeshesOctree.intersects(collider.basePointWorld, radius);
             //    len = intersections.length;
             //    subMeshes = intersections.data;
             //} else {
-            subMeshes = mesh.subMeshes;
-            len = subMeshes.length;
+            var subMeshes = mesh.subMeshes;
+            var len = subMeshes.length;
             //}
             if (!mesh.geometryId) {
                 console.log("no mesh geometry id");

+ 56 - 62
src/Collisions/babylon.collisionWorker.ts

@@ -22,8 +22,8 @@ module BABYLON {
         public addMesh(mesh: SerializedMesh) {
             this._meshes[mesh.uniqueId] = mesh;
         }
-		
-		public removeMesh(uniqueId: number) {
+
+        public removeMesh(uniqueId: number) {
             delete this._meshes[uniqueId];
         }
 
@@ -34,8 +34,8 @@ module BABYLON {
         public addGeometry(geometry: SerializedGeometry) {
             this._geometries[geometry.id] = geometry;
         }
-		
-		public removeGeometry(id: string) {
+
+        public removeGeometry(id: string) {
             delete this._geometries[id];
         }
     }
@@ -52,9 +52,7 @@ module BABYLON {
         public collideWithWorld(position: Vector3, velocity: Vector3, maximumRetry: number, excludedMeshUniqueId?: number) {
 
             //TODO CollisionsEpsilon should be defined here and not in the engine.
-            var closeDistance = /*Engine.CollisionsEpsilon * 10.0*/ 0.01;
-
-            //is initializing here correct? A quick look - looks like it is fine.
+            const closeDistance = 0.01; //is initializing here correct? A quick look - looks like it is fine.
             if (this.collider.retry >= maximumRetry) {
                 this.finalPosition.copyFrom(position);
                 return;
@@ -110,11 +108,7 @@ module BABYLON {
             //return colTransMat;
         }
 
-        private processCollisionsForSubMeshes(transformMatrix: Matrix, mesh: SerializedMesh): void {
-            var len: number;
-            var subMeshes;
-
-            // No Octrees for now
+        private processCollisionsForSubMeshes(transformMatrix: Matrix, mesh: SerializedMesh): void { // No Octrees for now
             //if (this._submeshesOctree && this.useOctreeForCollisions) {
             //    var radius = collider.velocityWorldLength + Math.max(collider.radius.x, collider.radius.y, collider.radius.z);
             //    var intersections = this._submeshesOctree.intersects(collider.basePointWorld, radius);
@@ -122,8 +116,8 @@ module BABYLON {
             //    len = intersections.length;
             //    subMeshes = intersections.data;
             //} else {
-                subMeshes = mesh.subMeshes;
-                len = subMeshes.length;
+            var subMeshes = mesh.subMeshes;
+            var len = subMeshes.length;
             //}
 
             if (!mesh.geometryId) {
@@ -145,9 +139,9 @@ module BABYLON {
                     continue;
 
                 this.collideForSubMesh(subMesh, transformMatrix, meshGeometry);
-				if (this.collider.collisionFound) {
-					this.collider.collidedMesh = <any> mesh.uniqueId;
-				}
+                if (this.collider.collisionFound) {
+                    this.collider.collidedMesh = <any>mesh.uniqueId;
+                }
             }
         }
 
@@ -159,7 +153,7 @@ module BABYLON {
                     meshGeometry['positionsArray'].push(p);
                 }
             }
-            
+
             if (!subMesh['_lastColliderWorldVertices'] || !subMesh['_lastColliderTransformMatrix'].equals(transformMatrix)) {
                 subMesh['_lastColliderTransformMatrix'] = transformMatrix.clone();
                 subMesh['_lastColliderWorldVertices'] = [];
@@ -172,11 +166,11 @@ module BABYLON {
             }        
 
             // Collide
-            this.collider._collide(subMesh['_trianglePlanes'], subMesh['_lastColliderWorldVertices'], <any> meshGeometry.indices, subMesh.indexStart, subMesh.indexStart + subMesh.indexCount, subMesh.verticesStart, subMesh.hasMaterial);
-			
+            this.collider._collide(subMesh['_trianglePlanes'], subMesh['_lastColliderWorldVertices'], <any>meshGeometry.indices, subMesh.indexStart, subMesh.indexStart + subMesh.indexCount, subMesh.verticesStart, subMesh.hasMaterial);
+
         }
 
-        private checkSubmeshCollision(subMesh: SerializedSubMesh) : boolean {
+        private checkSubmeshCollision(subMesh: SerializedSubMesh): boolean {
             return this.collider._canDoCollision(Vector3.FromArray(subMesh.sphereCenter), subMesh.sphereRadius, Vector3.FromArray(subMesh.boxMinimum), Vector3.FromArray(subMesh.boxMaximum));
         }
     }
@@ -200,36 +194,36 @@ module BABYLON {
         }
 
         public onUpdate(payload: UpdatePayload) {
-			var replay: WorkerReply = {
+            var replay: WorkerReply = {
                 error: WorkerReplyType.SUCCESS,
                 taskType: WorkerTaskType.UPDATE
             }
-			
-			try {
-				for (var id in payload.updatedGeometries) {
-					if (payload.updatedGeometries.hasOwnProperty(id)) {
-						this._collisionCache.addGeometry(payload.updatedGeometries[id]);
-					}
-				}
-				for (var uniqueId in payload.updatedMeshes) {
-					if (payload.updatedMeshes.hasOwnProperty(uniqueId)) {
-						this._collisionCache.addMesh(payload.updatedMeshes[uniqueId]);
-					}
-				}
-				
-				payload.removedGeometries.forEach((id) => {
-					this._collisionCache.removeGeometry(id);
-				});
-				
-				payload.removedMeshes.forEach((uniqueId) => {
-					this._collisionCache.removeMesh(uniqueId);
-				});
-				
-			} catch(x) {
-				replay.error = WorkerReplyType.UNKNOWN_ERROR;
-			}
-
-            
+
+            try {
+                for (var id in payload.updatedGeometries) {
+                    if (payload.updatedGeometries.hasOwnProperty(id)) {
+                        this._collisionCache.addGeometry(payload.updatedGeometries[id]);
+                    }
+                }
+                for (var uniqueId in payload.updatedMeshes) {
+                    if (payload.updatedMeshes.hasOwnProperty(uniqueId)) {
+                        this._collisionCache.addMesh(payload.updatedMeshes[uniqueId]);
+                    }
+                }
+
+                payload.removedGeometries.forEach((id) => {
+                    this._collisionCache.removeGeometry(id);
+                });
+
+                payload.removedMeshes.forEach((uniqueId) => {
+                    this._collisionCache.removeMesh(uniqueId);
+                });
+
+            } catch (x) {
+                replay.error = WorkerReplyType.UNKNOWN_ERROR;
+            }
+
+
             postMessage(replay, undefined);
         }
 
@@ -242,7 +236,7 @@ module BABYLON {
             var colliderWorker = new CollideWorker(collider, this._collisionCache, finalPosition);
             colliderWorker.collideWithWorld(Vector3.FromArray(payload.collider.position), Vector3.FromArray(payload.collider.velocity), payload.maximumRetry, payload.excludedMeshUniqueId);
             var replyPayload: CollisionReplyPayload = {
-                collidedMeshUniqueId: <any> collider.collidedMesh,
+                collidedMeshUniqueId: <any>collider.collidedMesh,
                 collisionId: payload.collisionId,
                 newPosition: finalPosition.asArray()
             }
@@ -263,7 +257,7 @@ module BABYLON {
         if (self && self instanceof WorkerGlobalScope) {
 
             //Window hack to allow including babylonjs native code. the <any> is for typescript.
-            window = <any> {};
+            window = <any>{};
 
             //scripts were not included, standalone worker
             if (!BABYLON.Collider) {
@@ -274,18 +268,18 @@ module BABYLON {
 
             var collisionDetector: ICollisionDetector = new CollisionDetectorTransferable();
 
-            var onNewMessage = function (event: MessageEvent) {
-                var message = <BabylonMessage> event.data;
+            var onNewMessage = (event: MessageEvent) => {
+                var message = <BabylonMessage>event.data;
                 switch (message.taskType) {
-                    case WorkerTaskType.INIT:
-                        collisionDetector.onInit(<InitPayload> message.payload);
-                        break;
-                    case WorkerTaskType.COLLIDE:
-                        collisionDetector.onCollision(<CollidePayload> message.payload);
-                        break;
-                    case WorkerTaskType.UPDATE:
-                        collisionDetector.onUpdate(<UpdatePayload> message.payload);
-                        break;
+                case WorkerTaskType.INIT:
+                    collisionDetector.onInit(<InitPayload>message.payload);
+                    break;
+                case WorkerTaskType.COLLIDE:
+                    collisionDetector.onCollision(<CollidePayload>message.payload);
+                    break;
+                case WorkerTaskType.UPDATE:
+                    collisionDetector.onUpdate(<UpdatePayload>message.payload);
+                    break;
                 }
             }
 
@@ -294,4 +288,4 @@ module BABYLON {
     } catch (e) {
         console.log("single worker init");
     }
-}
+}

+ 0 - 1
src/Collisions/babylon.pickingInfo.js

@@ -73,4 +73,3 @@ var BABYLON;
     })();
     BABYLON.PickingInfo = PickingInfo;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.pickingInfo.js.map

+ 0 - 1
src/Culling/Octrees/babylon.octree.js

@@ -86,4 +86,3 @@ var BABYLON;
     })();
     BABYLON.Octree = Octree;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.octree.js.map

+ 0 - 1
src/Culling/Octrees/babylon.octreeBlock.js

@@ -120,4 +120,3 @@ var BABYLON;
     })();
     BABYLON.OctreeBlock = OctreeBlock;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.octreeBlock.js.map

+ 0 - 1
src/Culling/babylon.boundingBox.js

@@ -137,4 +137,3 @@ var BABYLON;
     })();
     BABYLON.BoundingBox = BoundingBox;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.boundingBox.js.map

+ 0 - 1
src/Culling/babylon.boundingInfo.js

@@ -103,4 +103,3 @@ var BABYLON;
     })();
     BABYLON.BoundingInfo = BoundingInfo;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.boundingInfo.js.map

+ 0 - 1
src/Culling/babylon.boundingSphere.js

@@ -47,4 +47,3 @@ var BABYLON;
     })();
     BABYLON.BoundingSphere = BoundingSphere;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.boundingSphere.js.map

+ 0 - 1
src/Debug/babylon.debugLayer.js

@@ -603,4 +603,3 @@ var BABYLON;
     })();
     BABYLON.DebugLayer = DebugLayer;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.debugLayer.js.map

+ 0 - 1
src/Layer/babylon.layer.js

@@ -74,4 +74,3 @@ var BABYLON;
     })();
     BABYLON.Layer = Layer;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.layer.js.map

+ 0 - 1
src/LensFlare/babylon.lensFlare.js

@@ -21,4 +21,3 @@ var BABYLON;
     })();
     BABYLON.LensFlare = LensFlare;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.lensFlare.js.map

+ 0 - 1
src/LensFlare/babylon.lensFlareSystem.js

@@ -180,4 +180,3 @@ var BABYLON;
     })();
     BABYLON.LensFlareSystem = LensFlareSystem;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.lensFlareSystem.js.map

+ 0 - 1
src/Lights/Shadows/babylon.shadowGenerator.js

@@ -333,4 +333,3 @@ var BABYLON;
     })();
     BABYLON.ShadowGenerator = ShadowGenerator;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.shadowGenerator.js.map

+ 0 - 1
src/Lights/babylon.directionalLight.js

@@ -92,4 +92,3 @@ var BABYLON;
     })(BABYLON.Light);
     BABYLON.DirectionalLight = DirectionalLight;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.directionalLight.js.map

+ 0 - 1
src/Lights/babylon.hemisphericLight.js

@@ -34,4 +34,3 @@ var BABYLON;
     })(BABYLON.Light);
     BABYLON.HemisphericLight = HemisphericLight;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.hemisphericLight.js.map

+ 0 - 1
src/Lights/babylon.light.js

@@ -75,4 +75,3 @@ var BABYLON;
     })(BABYLON.Node);
     BABYLON.Light = Light;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.light.js.map

+ 0 - 1
src/Lights/babylon.pointLight.js

@@ -39,4 +39,3 @@ var BABYLON;
     })(BABYLON.Light);
     BABYLON.PointLight = PointLight;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.pointLight.js.map

+ 0 - 1
src/Lights/babylon.spotLight.js

@@ -69,4 +69,3 @@ var BABYLON;
     })(BABYLON.Light);
     BABYLON.SpotLight = SpotLight;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.spotLight.js.map

+ 0 - 1
src/Loading/Plugins/babylon.babylonFileLoader.js

@@ -1431,4 +1431,3 @@ var BABYLON;
         });
     })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.babylonFileLoader.js.map

+ 0 - 1
src/Loading/babylon.sceneLoader.js

@@ -174,4 +174,3 @@ var BABYLON;
     BABYLON.SceneLoader = SceneLoader;
     ;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.sceneLoader.js.map

+ 0 - 1
src/Materials/Textures/Procedurals/babylon.customProceduralTexture.js

@@ -122,4 +122,3 @@ var BABYLON;
     })(BABYLON.ProceduralTexture);
     BABYLON.CustomProceduralTexture = CustomProceduralTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.customProceduralTexture.js.map

+ 0 - 1
src/Materials/Textures/Procedurals/babylon.proceduralTexture.js

@@ -247,4 +247,3 @@ var BABYLON;
     })(BABYLON.Texture);
     BABYLON.ProceduralTexture = ProceduralTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.proceduralTexture.js.map

+ 0 - 1
src/Materials/Textures/Procedurals/babylon.standardProceduralTexture.js

@@ -417,4 +417,3 @@ var BABYLON;
     })(BABYLON.ProceduralTexture);
     BABYLON.MarbleProceduralTexture = MarbleProceduralTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.standardProceduralTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.baseTexture.js

@@ -125,4 +125,3 @@ var BABYLON;
     })();
     BABYLON.BaseTexture = BaseTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.baseTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.cubeTexture.js

@@ -58,4 +58,3 @@ var BABYLON;
     })(BABYLON.BaseTexture);
     BABYLON.CubeTexture = CubeTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.cubeTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.dynamicTexture.js

@@ -91,4 +91,3 @@ var BABYLON;
     })(BABYLON.Texture);
     BABYLON.DynamicTexture = DynamicTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.dynamicTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.mirrorTexture.js

@@ -42,4 +42,3 @@ var BABYLON;
     })(BABYLON.RenderTargetTexture);
     BABYLON.MirrorTexture = MirrorTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.mirrorTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.rawTexture.js

@@ -55,4 +55,3 @@ var BABYLON;
     })(BABYLON.Texture);
     BABYLON.RawTexture = RawTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.rawTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.renderTargetTexture.js

@@ -164,4 +164,3 @@ var BABYLON;
     })(BABYLON.Texture);
     BABYLON.RenderTargetTexture = RenderTargetTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.renderTargetTexture.js.map

+ 0 - 1
src/Materials/Textures/babylon.texture.js

@@ -211,4 +211,3 @@ var BABYLON;
     })(BABYLON.BaseTexture);
     BABYLON.Texture = Texture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.texture.js.map

+ 0 - 1
src/Materials/Textures/babylon.videoTexture.js

@@ -56,4 +56,3 @@ var BABYLON;
     })(BABYLON.Texture);
     BABYLON.VideoTexture = VideoTexture;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.videoTexture.js.map

+ 0 - 1
src/Materials/babylon.effect.js

@@ -371,4 +371,3 @@ var BABYLON;
     })();
     BABYLON.Effect = Effect;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.effect.js.map

+ 0 - 1
src/Materials/babylon.material.js

@@ -173,4 +173,3 @@ var BABYLON;
     })();
     BABYLON.Material = Material;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.material.js.map

+ 0 - 1
src/Materials/babylon.multiMaterial.js

@@ -43,4 +43,3 @@ var BABYLON;
     })(BABYLON.Material);
     BABYLON.MultiMaterial = MultiMaterial;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.multiMaterial.js.map

+ 0 - 1
src/Materials/babylon.pbrMaterial.js

@@ -259,4 +259,3 @@ var BABYLON;
     })(BABYLON.Material);
     BABYLON.PBRMaterial = PBRMaterial;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.pbrMaterial.js.map

+ 0 - 1
src/Materials/babylon.shaderMaterial.js

@@ -231,4 +231,3 @@ var BABYLON;
     })(BABYLON.Material);
     BABYLON.ShaderMaterial = ShaderMaterial;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.shaderMaterial.js.map

+ 0 - 1
src/Materials/babylon.standardMaterial.js

@@ -813,4 +813,3 @@ var BABYLON;
     })(BABYLON.Material);
     BABYLON.StandardMaterial = StandardMaterial;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.standardMaterial.js.map

+ 0 - 1
src/Math/babylon.math.js

@@ -3136,4 +3136,3 @@ var BABYLON;
     })();
     BABYLON.SIMDHelper = SIMDHelper;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.math.js.map

+ 0 - 1
src/Mesh/babylon.abstractMesh.js

@@ -888,4 +888,3 @@ var BABYLON;
     })(BABYLON.Node);
     BABYLON.AbstractMesh = AbstractMesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.abstractMesh.js.map

+ 0 - 1
src/Mesh/babylon.csg.js

@@ -508,4 +508,3 @@ var BABYLON;
     })();
     BABYLON.CSG = CSG;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.csg.js.map

+ 8 - 9
src/Mesh/babylon.geometry.js

@@ -445,7 +445,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Ribbon.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateRibbon(this.pathArray, this.closeArray, this.closePath, this.offset, this.side);
+                    return BABYLON.VertexData.CreateRibbon({ pathArray: this.pathArray, closeArray: this.closeArray, closePath: this.closePath, offset: this.offset, sideOrientation: this.side });
                 };
                 Ribbon.prototype.copy = function (id) {
                     return new Ribbon(id, this.getScene(), this.pathArray, this.closeArray, this.closePath, this.offset, this.canBeRegenerated(), null, this.side);
@@ -462,7 +462,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Box.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateBox(this.size, this.side);
+                    return BABYLON.VertexData.CreateBox({ size: this.size, sideOrientation: this.side });
                 };
                 Box.prototype.copy = function (id) {
                     return new Box(id, this.getScene(), this.size, this.canBeRegenerated(), null, this.side);
@@ -480,7 +480,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Sphere.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateSphere(this.segments, this.diameter, this.side);
+                    return BABYLON.VertexData.CreateSphere({ segments: this.segments, diameter: this.diameter, sideOrientation: this.side });
                 };
                 Sphere.prototype.copy = function (id) {
                     return new Sphere(id, this.getScene(), this.segments, this.diameter, this.canBeRegenerated(), null, this.side);
@@ -502,7 +502,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Cylinder.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateCylinder(this.height, this.diameterTop, this.diameterBottom, this.tessellation, this.subdivisions, this.side);
+                    return BABYLON.VertexData.CreateCylinder({ height: this.height, diameterTop: this.diameterTop, diameterBottom: this.diameterBottom, tessellation: this.tessellation, subdivisions: this.subdivisions, sideOrientation: this.side });
                 };
                 Cylinder.prototype.copy = function (id) {
                     return new Cylinder(id, this.getScene(), this.height, this.diameterTop, this.diameterBottom, this.tessellation, this.subdivisions, this.canBeRegenerated(), null, this.side);
@@ -521,7 +521,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Torus.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateTorus(this.diameter, this.thickness, this.tessellation, this.side);
+                    return BABYLON.VertexData.CreateTorus({ diameter: this.diameter, thickness: this.thickness, tessellation: this.tessellation, sideOrientation: this.side });
                 };
                 Torus.prototype.copy = function (id) {
                     return new Torus(id, this.getScene(), this.diameter, this.thickness, this.tessellation, this.canBeRegenerated(), null, this.side);
@@ -538,7 +538,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Ground.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateGround(this.width, this.height, this.subdivisions);
+                    return BABYLON.VertexData.CreateGround({ width: this.width, height: this.height, subdivisions: this.subdivisions });
                 };
                 Ground.prototype.copy = function (id) {
                     return new Ground(id, this.getScene(), this.width, this.height, this.subdivisions, this.canBeRegenerated(), null);
@@ -575,7 +575,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 Plane.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreatePlane(this.size, this.side);
+                    return BABYLON.VertexData.CreatePlane({ size: this.size, sideOrientation: this.side });
                 };
                 Plane.prototype.copy = function (id) {
                     return new Plane(id, this.getScene(), this.size, this.canBeRegenerated(), null, this.side);
@@ -597,7 +597,7 @@ var BABYLON;
                     _super.call(this, id, scene, this._regenerateVertexData(), canBeRegenerated, mesh);
                 }
                 TorusKnot.prototype._regenerateVertexData = function () {
-                    return BABYLON.VertexData.CreateTorusKnot(this.radius, this.tube, this.radialSegments, this.tubularSegments, this.p, this.q, this.side);
+                    return BABYLON.VertexData.CreateTorusKnot({ radius: this.radius, tube: this.tube, radialSegments: this.radialSegments, tubularSegments: this.tubularSegments, p: this.p, q: this.q, sideOrientation: this.side });
                 };
                 TorusKnot.prototype.copy = function (id) {
                     return new TorusKnot(id, this.getScene(), this.radius, this.tube, this.radialSegments, this.tubularSegments, this.p, this.q, this.canBeRegenerated(), null, this.side);
@@ -608,4 +608,3 @@ var BABYLON;
         })(Primitives = Geometry.Primitives || (Geometry.Primitives = {}));
     })(Geometry = BABYLON.Geometry || (BABYLON.Geometry = {}));
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.geometry.js.map

+ 10 - 10
src/Mesh/babylon.geometry.ts

@@ -380,7 +380,7 @@
                 if (onLoaded) {
                     onLoaded();
                 }
-            },() => { }, scene.database);
+            }, () => { }, scene.database);
         }
 
         public isDisposed(): boolean {
@@ -559,7 +559,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateRibbon({pathArray: this.pathArray, closeArray: this.closeArray, closePath: this.closePath, offset: this.offset, sideOrientation: this.side});
+                return VertexData.CreateRibbon({ pathArray: this.pathArray, closeArray: this.closeArray, closePath: this.closePath, offset: this.offset, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -580,7 +580,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateBox({size: this.size, sideOrientation: this.side});
+                return VertexData.CreateBox({ size: this.size, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -603,7 +603,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateSphere({segments: this.segments, diameter: this.diameter, sideOrientation: this.side});
+                return VertexData.CreateSphere({ segments: this.segments, diameter: this.diameter, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -632,7 +632,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateCylinder({height: this.height, diameterTop: this.diameterTop, diameterBottom: this.diameterBottom, tessellation: this.tessellation, subdivisions: this.subdivisions, sideOrientation: this.side});
+                return VertexData.CreateCylinder({ height: this.height, diameterTop: this.diameterTop, diameterBottom: this.diameterBottom, tessellation: this.tessellation, subdivisions: this.subdivisions, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -657,7 +657,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateTorus({diameter: this.diameter, thickness: this.thickness, tessellation: this.tessellation, sideOrientation: this.side});
+                return VertexData.CreateTorus({ diameter: this.diameter, thickness: this.thickness, tessellation: this.tessellation, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -680,7 +680,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateGround({width: this.width, height: this.height, subdivisions: this.subdivisions});
+                return VertexData.CreateGround({ width: this.width, height: this.height, subdivisions: this.subdivisions });
             }
 
             public copy(id: string): Geometry {
@@ -730,7 +730,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreatePlane({size: this.size, sideOrientation: this.side});
+                return VertexData.CreatePlane({ size: this.size, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -761,7 +761,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateTorusKnot({radius: this.radius, tube: this.tube, radialSegments: this.radialSegments, tubularSegments: this.tubularSegments, p: this.p, q: this.q, sideOrientation: this.side});
+                return VertexData.CreateTorusKnot({ radius: this.radius, tube: this.tube, radialSegments: this.radialSegments, tubularSegments: this.tubularSegments, p: this.p, q: this.q, sideOrientation: this.side });
             }
 
             public copy(id: string): Geometry {
@@ -769,4 +769,4 @@
             }
         }
     }
-}
+}

+ 0 - 1
src/Mesh/babylon.groundMesh.js

@@ -39,4 +39,3 @@ var BABYLON;
     })(BABYLON.Mesh);
     BABYLON.GroundMesh = GroundMesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.groundMesh.js.map

+ 0 - 1
src/Mesh/babylon.instancedMesh.js

@@ -150,4 +150,3 @@ var BABYLON;
     })(BABYLON.AbstractMesh);
     BABYLON.InstancedMesh = InstancedMesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.instancedMesh.js.map

+ 0 - 1
src/Mesh/babylon.linesMesh.js

@@ -69,4 +69,3 @@ var BABYLON;
     })(BABYLON.Mesh);
     BABYLON.LinesMesh = LinesMesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.linesMesh.js.map

+ 54 - 12
src/Mesh/babylon.mesh.js

@@ -51,9 +51,10 @@ var BABYLON;
                 this.id = name + "." + source.id;
                 // Material
                 this.material = source.material;
+                var index;
                 if (!doNotCloneChildren) {
                     // Children
-                    for (var index = 0; index < scene.meshes.length; index++) {
+                    for (index = 0; index < scene.meshes.length; index++) {
                         var mesh = scene.meshes[index];
                         if (mesh.parent === source) {
                             // doNotCloneChildren is always going to be False
@@ -1083,7 +1084,7 @@ var BABYLON;
                     closeArray: closeArrayOrScene,
                     closePath: closePath,
                     offset: offset,
-                    sideOrientation: sideOrientation,
+                    sideOrientation: sideOrientation
                 };
             }
             if (instance) {
@@ -1168,8 +1169,15 @@ var BABYLON;
             if (sideOrientation === void 0) { sideOrientation = Mesh.DEFAULTSIDE; }
             // Check parameters
             updatable = updatable || options.updatable;
+            if (typeof options === 'number') {
+                var size = options;
+                options = {
+                    size: size,
+                    sideOrientation: sideOrientation
+                };
+            }
             var box = new Mesh(name, scene);
-            var vertexData = BABYLON.VertexData.CreateBox(options, sideOrientation);
+            var vertexData = BABYLON.VertexData.CreateBox(options);
             vertexData.applyToMesh(box, updatable);
             return box;
         };
@@ -1224,18 +1232,44 @@ var BABYLON;
             vertexData.applyToMesh(cylinder, updatable);
             return cylinder;
         };
-        // Torus  (Code from SharpDX.org)
-        Mesh.CreateTorus = function (name, diameter, thickness, tessellation, scene, updatable, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = Mesh.DEFAULTSIDE; }
+        Mesh.CreateTorus = function (name, options, thicknessOrScene, tessellation, scene, updatable, sideOrientation) {
+            if (thicknessOrScene instanceof BABYLON.Scene) {
+                scene = thicknessOrScene;
+                updatable = options.updatable;
+            }
+            else {
+                var diameter = options;
+                options = {
+                    diameter: diameter,
+                    thickness: thicknessOrScene,
+                    tessellation: tessellation,
+                    sideOrientation: sideOrientation
+                };
+            }
             var torus = new Mesh(name, scene);
-            var vertexData = BABYLON.VertexData.CreateTorus(diameter, thickness, tessellation, sideOrientation);
+            var vertexData = BABYLON.VertexData.CreateTorus(options);
             vertexData.applyToMesh(torus, updatable);
             return torus;
         };
-        Mesh.CreateTorusKnot = function (name, radius, tube, radialSegments, tubularSegments, p, q, scene, updatable, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = Mesh.DEFAULTSIDE; }
+        Mesh.CreateTorusKnot = function (name, options, tubeOrScene, radialSegments, tubularSegments, p, q, scene, updatable, sideOrientation) {
+            if (tubeOrScene instanceof BABYLON.Scene) {
+                scene = tubeOrScene;
+                updatable = options.updatable;
+            }
+            else {
+                var radius = options;
+                options = {
+                    radius: radius,
+                    tube: tubeOrScene,
+                    radialSegments: radialSegments,
+                    tubularSegments: tubularSegments,
+                    p: p,
+                    q: q,
+                    sideOrientation: sideOrientation
+                };
+            }
             var torusKnot = new Mesh(name, scene);
-            var vertexData = BABYLON.VertexData.CreateTorusKnot(radius, tube, radialSegments, tubularSegments, p, q, sideOrientation);
+            var vertexData = BABYLON.VertexData.CreateTorusKnot(options);
             vertexData.applyToMesh(torusKnot, updatable);
             return torusKnot;
         };
@@ -1444,8 +1478,17 @@ var BABYLON;
         };
         Mesh.CreatePlane = function (name, options, scene, updatable, sideOrientation) {
             if (sideOrientation === void 0) { sideOrientation = Mesh.DEFAULTSIDE; }
+            if (typeof options === 'number') {
+                var size = options;
+                options = {
+                    size: size,
+                    width: size,
+                    height: size,
+                    sideOrientation: sideOrientation
+                };
+            }
             var plane = new Mesh(name, scene);
-            var vertexData = BABYLON.VertexData.CreatePlane(options, sideOrientation);
+            var vertexData = BABYLON.VertexData.CreatePlane(options);
             vertexData.applyToMesh(plane, updatable || options.updatable);
             return plane;
         };
@@ -1911,4 +1954,3 @@ var BABYLON;
     })(BABYLON.AbstractMesh);
     BABYLON.Mesh = Mesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.mesh.js.map

+ 7 - 6
src/Mesh/babylon.mesh.ts

@@ -98,10 +98,10 @@
 
                 // Material
                 this.material = source.material;
-
+                var index: number;
                 if (!doNotCloneChildren) {
                     // Children
-                    for (var index = 0; index < scene.meshes.length; index++) {
+                    for (index = 0; index < scene.meshes.length; index++) {
                         var mesh = scene.meshes[index];
 
                         if (mesh.parent === source) {
@@ -1266,7 +1266,7 @@
                     closeArray: closeArrayOrScene,
                     closePath: closePath,
                     offset: offset,
-                    sideOrientation: sideOrientation,
+                    sideOrientation: sideOrientation
                 }
             }
 
@@ -1370,7 +1370,7 @@
                     sideOrientation: sideOrientation
                 };
             }
-            
+
             var box = new Mesh(name, scene);
             var vertexData = VertexData.CreateBox(options);
 
@@ -1443,7 +1443,7 @@
 
         // Torus  (Code from SharpDX.org)
         public static CreateTorus(name: string, diameter: number, thickness: number, tessellation: number, scene: Scene, updatable?: boolean, sideOrientation?: number): Mesh;
-        public static CreateTorus(name: string, options: { diameter?: number, thickness?: number, tessellation?: number, updatable?: boolean, sideOrientation?: number}, scene: any): Mesh;
+        public static CreateTorus(name: string, options: { diameter?: number, thickness?: number, tessellation?: number, updatable?: boolean, sideOrientation?: number }, scene: any): Mesh;
         public static CreateTorus(name: string, options: any, thicknessOrScene: any, tessellation?: number, scene?: Scene, updatable?: boolean, sideOrientation?: number): Mesh {
             if (thicknessOrScene instanceof Scene) {
                 scene = thicknessOrScene;
@@ -1830,7 +1830,7 @@
                     index++;
                 }
                 // cap
-                var capPath = function (nbPoints, pathIndex) {
+                var capPath = (nbPoints, pathIndex) => {
                     var pointCap = Array<Vector3>();
                     for (var i = 0; i < nbPoints; i++) {
                         pointCap.push(path[pathIndex]);
@@ -2269,3 +2269,4 @@
 
 
 
+

+ 47 - 98
src/Mesh/babylon.mesh.vertexData.js

@@ -297,15 +297,14 @@ var BABYLON;
             result.indices = meshOrGeometry.getIndices(copyWhenShared);
             return result;
         };
-        VertexData.CreateRibbon = function (options, closeArray, closePath, offset, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
-            var pathArray = pathArray || options.pathArray;
-            closeArray = closeArray || options.closeArray || false;
-            closePath = closePath || options.closePath || false;
+        VertexData.CreateRibbon = function (options) {
+            var pathArray = options.pathArray;
+            var closeArray = options.closeArray || false;
+            var closePath = options.closePath || false;
             var defaultOffset = Math.floor(pathArray[0].length / 2);
-            offset = offset || options.offset || defaultOffset;
+            var offset = options.offset || defaultOffset;
             offset = offset > defaultOffset ? defaultOffset : Math.floor(offset); // offset max allowed : defaultOffset
-            sideOrientation = sideOrientation || options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             var positions = [];
             var indices = [];
             var normals = [];
@@ -472,8 +471,7 @@ var BABYLON;
             }
             return vertexData;
         };
-        VertexData.CreateBox = function (options, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
+        VertexData.CreateBox = function (options) {
             var normalsSource = [
                 new BABYLON.Vector3(0, 0, 1),
                 new BABYLON.Vector3(0, 0, -1),
@@ -486,26 +484,17 @@ var BABYLON;
             var positions = [];
             var normals = [];
             var uvs = [];
-            var width = 1;
-            var height = 1;
-            var depth = 1;
+            var width = options.width || options.size || 1;
+            var height = options.height || options.size || 1;
+            var depth = options.depth || options.size || 1;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             var faceUV = options.faceUV || new Array(6);
             var faceColors;
             var colors = [];
             if (options.faceColors) {
                 faceColors = options.faceColors;
             }
-            if (options.width !== undefined) {
-                width = options.width || 1;
-                height = options.height || 1;
-                depth = options.depth || 1;
-            }
-            else {
-                width = options || 1;
-                height = options || 1;
-                depth = options || 1;
-            }
-            sideOrientation = sideOrientation || options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
+            // default face colors and UV if undefined
             for (var f = 0; f < 6; f++) {
                 if (faceUV[f] === undefined) {
                     faceUV[f] = new BABYLON.Vector4(0, 0, 1, 1);
@@ -573,25 +562,12 @@ var BABYLON;
             }
             return vertexData;
         };
-        VertexData.CreateSphere = function (options, diameter, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
-            var segments;
-            var diameterX;
-            var diameterY;
-            var diameterZ;
-            if (options.segments) {
-                segments = options.segments || 32;
-                diameterX = options.diameterX || 1;
-                diameterY = options.diameterY || 1;
-                diameterZ = options.diameterZ || 1;
-            }
-            else {
-                segments = options || 32;
-                diameterX = diameter || 1;
-                diameterY = diameterX;
-                diameterZ = diameterX;
-            }
-            sideOrientation = sideOrientation || options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
+        VertexData.CreateSphere = function (options) {
+            var segments = options.segments || 32;
+            var diameterX = options.diameterX || options.diameter || 1;
+            var diameterY = options.diameterY || options.diameter || 1;
+            var diameterZ = options.diameterZ || options.diameter || 1;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             var radius = new BABYLON.Vector3(diameterX / 2, diameterY / 2, diameterZ / 2);
             var totalZRotationSteps = 2 + segments;
             var totalYRotationSteps = 2 * totalZRotationSteps;
@@ -637,23 +613,14 @@ var BABYLON;
             vertexData.uvs = uvs;
             return vertexData;
         };
-        VertexData.CreateCylinder = function (options, diameterTop, diameterBottom, tessellation, subdivisions, sideOrientation) {
-            var height = height || options.height || 3;
-            if (diameterTop === 0 || options.diameterTop === 0) {
-                diameterTop = 0;
-            }
-            else {
-                diameterTop = diameterTop || options.diameterTop || 1;
-            }
-            diameterBottom = diameterBottom || options.diameterBottom || 1;
-            tessellation = tessellation || options.tessellation || 24;
-            subdivisions = subdivisions || options.subdivisions || 1;
-            if (sideOrientation === 0 || options.sideOrientation === 0) {
-                sideOrientation = 0;
-            }
-            else {
-                sideOrientation = sideOrientation || options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
-            }
+        // Cylinder and cone 
+        VertexData.CreateCylinder = function (options) {
+            var height = options.height || 2;
+            var diameterTop = (options.diameterTop === 0) ? 0 : options.diameterTop || 1;
+            var diameterBottom = options.diameterBottom || 1;
+            var tessellation = options.tessellation || 24;
+            var subdivisions = options.subdivisions || 1;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             var indices = [];
             var positions = [];
             var normals = [];
@@ -752,15 +719,15 @@ var BABYLON;
             vertexData.uvs = uvs;
             return vertexData;
         };
-        VertexData.CreateTorus = function (diameter, thickness, tessellation, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
+        VertexData.CreateTorus = function (options) {
             var indices = [];
             var positions = [];
             var normals = [];
             var uvs = [];
-            diameter = diameter || 1;
-            thickness = thickness || 0.5;
-            tessellation = tessellation || 16;
+            var diameter = options.diameter || 1;
+            var thickness = options.thickness || 0.5;
+            var tessellation = options.tessellation || 16;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             var stride = tessellation + 1;
             for (var i = 0; i <= tessellation; i++) {
                 var u = i / tessellation;
@@ -855,23 +822,15 @@ var BABYLON;
             vertexData.indices = indices;
             return vertexData;
         };
-        VertexData.CreateGround = function (options, height, subdivisions) {
+        VertexData.CreateGround = function (options) {
             var indices = [];
             var positions = [];
             var normals = [];
             var uvs = [];
             var row, col;
-            var width;
-            if (options.width) {
-                width = options.width || 1;
-                height = options.height || 1;
-                subdivisions = options.subdivisions || 1;
-            }
-            else {
-                width = options || 1;
-                height = height || 1;
-                subdivisions = subdivisions || 1;
-            }
+            var width = options.width || 1;
+            var height = options.height || 1;
+            var subdivisions = options.subdivisions || 1;
             for (row = 0; row <= subdivisions; row++) {
                 for (col = 0; col <= subdivisions; col++) {
                     var position = new BABYLON.Vector3((col * width) / subdivisions - (width / 2.0), 0, ((subdivisions - row) * height) / subdivisions - (height / 2.0));
@@ -1008,23 +967,14 @@ var BABYLON;
             vertexData.uvs = uvs;
             return vertexData;
         };
-        VertexData.CreatePlane = function (options, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
+        VertexData.CreatePlane = function (options) {
             var indices = [];
             var positions = [];
             var normals = [];
             var uvs = [];
-            var width;
-            var height;
-            if (options.width) {
-                width = options.width || 1;
-                height = options.height || 1;
-                sideOrientation = options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
-            }
-            else {
-                width = options || 1;
-                height = options || 1;
-            }
+            var width = options.width || options.size || 1;
+            var height = options.height || options.size || 1;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             // Vertices
             var halfWidth = width / 2.0;
             var halfHeight = height / 2.0;
@@ -1093,18 +1043,18 @@ var BABYLON;
             return vertexData;
         };
         // based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3D/src/away3d/primitives/TorusKnot.as?spec=svn2473&r=2473
-        VertexData.CreateTorusKnot = function (radius, tube, radialSegments, tubularSegments, p, q, sideOrientation) {
-            if (sideOrientation === void 0) { sideOrientation = BABYLON.Mesh.DEFAULTSIDE; }
+        VertexData.CreateTorusKnot = function (options) {
             var indices = [];
             var positions = [];
             var normals = [];
             var uvs = [];
-            radius = radius || 2;
-            tube = tube || 0.5;
-            radialSegments = radialSegments || 32;
-            tubularSegments = tubularSegments || 32;
-            p = p || 2;
-            q = q || 3;
+            var radius = options.radius || 2;
+            var tube = options.tube || 0.5;
+            var radialSegments = options.radialSegments || 32;
+            var tubularSegments = options.tubularSegments || 32;
+            var p = options.p || 2;
+            var q = options.q || 3;
+            var sideOrientation = (options.sideOrientation === 0) ? 0 : options.sideOrientation || BABYLON.Mesh.DEFAULTSIDE;
             // Helper
             var getPos = function (angle) {
                 var cu = Math.cos(angle);
@@ -1270,4 +1220,3 @@ var BABYLON;
     })();
     BABYLON.VertexData = VertexData;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.mesh.vertexData.js.map

+ 6 - 5
src/Mesh/babylon.mesh.vertexData.ts

@@ -382,13 +382,13 @@
         }
 
         public static CreateRibbon(options: { pathArray: Vector3[][], closeArray?: boolean, closePath?: boolean, offset?: number, sideOrientation?: number }): VertexData {
-            var pathArray:Vector3[][] = options.pathArray;
+            var pathArray: Vector3[][] = options.pathArray;
             var closeArray: boolean = options.closeArray || false;
             var closePath: boolean = options.closePath || false;
             var defaultOffset: number = Math.floor(pathArray[0].length / 2);
-            var offset:number = options.offset || defaultOffset;
+            var offset: number = options.offset || defaultOffset;
             offset = offset > defaultOffset ? defaultOffset : Math.floor(offset); // offset max allowed : defaultOffset
-            var sideOrientation:number = (options.sideOrientation === 0) ? 0 : options.sideOrientation || Mesh.DEFAULTSIDE;
+            var sideOrientation: number = (options.sideOrientation === 0) ? 0 : options.sideOrientation || Mesh.DEFAULTSIDE;
 
             var positions: number[] = [];
             var indices: number[] = [];
@@ -757,8 +757,8 @@
             var height: number = options.height || 2;
             var diameterTop: number = (options.diameterTop === 0) ? 0 : options.diameterTop || 1;
             var diameterBottom: number = options.diameterBottom || 1;
-            var tessellation:number =  options.tessellation || 24;
-            var subdivisions:number =  options.subdivisions || 1;
+            var tessellation: number = options.tessellation || 24;
+            var subdivisions: number = options.subdivisions || 1;
             var sideOrientation: number = (options.sideOrientation === 0) ? 0 : options.sideOrientation || Mesh.DEFAULTSIDE;
 
             var indices = [];
@@ -1492,3 +1492,4 @@
 
 
 
+

+ 0 - 1
src/Mesh/babylon.meshLODLevel.js

@@ -12,4 +12,3 @@ var BABYLON;
         Internals.MeshLODLevel = MeshLODLevel;
     })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.meshLODLevel.js.map

+ 0 - 1
src/Mesh/babylon.meshSimplification.js

@@ -656,4 +656,3 @@ var BABYLON;
     })();
     BABYLON.QuadraticErrorSimplification = QuadraticErrorSimplification;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.meshSimplification.js.map

+ 0 - 1
src/Mesh/babylon.polygonMesh.js

@@ -243,4 +243,3 @@ var BABYLON;
     })();
     BABYLON.PolygonMeshBuilder = PolygonMeshBuilder;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.polygonMesh.js.map

+ 0 - 1
src/Mesh/babylon.subMesh.js

@@ -143,4 +143,3 @@ var BABYLON;
     })();
     BABYLON.SubMesh = SubMesh;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.subMesh.js.map

+ 0 - 1
src/Mesh/babylon.vertexBuffer.js

@@ -190,4 +190,3 @@ var BABYLON;
     })();
     BABYLON.VertexBuffer = VertexBuffer;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.vertexBuffer.js.map

+ 0 - 1
src/Particles/babylon.particle.js

@@ -27,4 +27,3 @@ var BABYLON;
     })();
     BABYLON.Particle = Particle;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.particle.js.map

+ 0 - 1
src/Particles/babylon.particleSystem.js

@@ -335,4 +335,3 @@ var BABYLON;
     })();
     BABYLON.ParticleSystem = ParticleSystem;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.particleSystem.js.map

+ 0 - 1
src/Physics/Plugins/babylon.cannonJSPlugin.js

@@ -251,4 +251,3 @@ var BABYLON;
     })();
     BABYLON.CannonJSPlugin = CannonJSPlugin;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.cannonJSPlugin.js.map

+ 0 - 1
src/Physics/Plugins/babylon.oimoJSPlugin.js

@@ -314,4 +314,3 @@ var BABYLON;
     })();
     BABYLON.OimoJSPlugin = OimoJSPlugin;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.oimoJSPlugin.js.map

+ 0 - 1
src/Physics/babylon.physicsEngine.js

@@ -60,4 +60,3 @@ var BABYLON;
     })();
     BABYLON.PhysicsEngine = PhysicsEngine;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.physicsEngine.js.map

+ 0 - 1
src/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js

@@ -138,4 +138,3 @@ var BABYLON;
     })();
     BABYLON.PostProcessRenderEffect = PostProcessRenderEffect;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.postProcessRenderEffect.js.map

+ 0 - 1
src/PostProcess/RenderPipeline/babylon.postProcessRenderPass.js

@@ -40,4 +40,3 @@ var BABYLON;
     })();
     BABYLON.PostProcessRenderPass = PostProcessRenderPass;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.postProcessRenderPass.js.map

+ 0 - 1
src/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js

@@ -110,4 +110,3 @@ var BABYLON;
     })();
     BABYLON.PostProcessRenderPipeline = PostProcessRenderPipeline;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.postProcessRenderPipeline.js.map

+ 0 - 1
src/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js

@@ -58,4 +58,3 @@ var BABYLON;
     })();
     BABYLON.PostProcessRenderPipelineManager = PostProcessRenderPipelineManager;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.postProcessRenderPipelineManager.js.map

+ 0 - 1
src/PostProcess/babylon.anaglyphPostProcess.js

@@ -14,4 +14,3 @@ var BABYLON;
     })(BABYLON.PostProcess);
     BABYLON.AnaglyphPostProcess = AnaglyphPostProcess;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.anaglyphPostProcess.js.map

+ 0 - 1
src/PostProcess/babylon.blackAndWhitePostProcess.js

@@ -14,4 +14,3 @@ var BABYLON;
     })(BABYLON.PostProcess);
     BABYLON.BlackAndWhitePostProcess = BlackAndWhitePostProcess;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.blackAndWhitePostProcess.js.map

+ 0 - 1
src/PostProcess/babylon.blurPostProcess.js

@@ -23,4 +23,3 @@ var BABYLON;
     })(BABYLON.PostProcess);
     BABYLON.BlurPostProcess = BlurPostProcess;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.blurPostProcess.js.map

+ 0 - 1
src/PostProcess/babylon.colorCorrectionPostProcess.js

@@ -35,4 +35,3 @@ var BABYLON;
     })(BABYLON.PostProcess);
     BABYLON.ColorCorrectionPostProcess = ColorCorrectionPostProcess;
 })(BABYLON || (BABYLON = {}));
-//# sourceMappingURL=babylon.colorCorrectionPostProcess.js.map

+ 0 - 0
src/PostProcess/babylon.convolutionPostProcess.js


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott