Browse Source

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 8 years ago
parent
commit
e5aa4ff6a3

+ 3 - 0
Exporters/3ds Max/BabylonExport.Entities/BabylonScene.cs

@@ -86,6 +86,9 @@ namespace BabylonExport.Entities
         [DataMember]
         [DataMember]
         public object metadata { get; set; }
         public object metadata { get; set; }
 
 
+        [DataMember]
+        public bool workerCollisions { get; set; }
+
         public BabylonVector3 MaxVector { get; set; }
         public BabylonVector3 MaxVector { get; set; }
         public BabylonVector3 MinVector { get; set; }
         public BabylonVector3 MinVector { get; set; }
 
 

+ 35 - 0
Exporters/3ds Max/BabylonExport.Entities/BabylonUniversalCamera.cs

@@ -0,0 +1,35 @@
+using System.Runtime.Serialization;
+namespace BabylonExport.Entities
+{
+    [DataContract]
+    public class BabylonUniversalCamera : BabylonCamera
+    {
+        [DataMember]
+        public int mode { get; set; }
+
+        [DataMember]
+        public float? orthoLeft { get; set; }
+
+        [DataMember]
+        public float? orthoRight { get; set; }
+
+        [DataMember]
+        public float? orthoBottom { get; set; }
+
+        [DataMember]
+        public float? orthoTop { get; set; }
+
+        [DataMember]
+        public bool isStereoscopicSideBySide;
+
+        public BabylonUniversalCamera()
+        {
+            this.mode = 0;
+            this.orthoLeft = null;
+            this.orthoRight = null;
+            this.orthoBottom = null;
+            this.orthoTop = null;
+            this.type = "BABYLON.UniversalCamera";
+        }
+    }
+}

+ 4 - 0
src/Mesh/babylon.subMesh.ts

@@ -42,6 +42,10 @@
             return this._boundingInfo;
             return this._boundingInfo;
         }
         }
 
 
+        public setBoundingInfo(boundingInfo: BoundingInfo): void {
+            this._boundingInfo = boundingInfo;
+        }
+
         public getMesh(): AbstractMesh {
         public getMesh(): AbstractMesh {
             return this._mesh;
             return this._mesh;
         }
         }