David Catuhe 7 年之前
父节点
当前提交
9372638689

文件差异内容过多而无法显示
+ 10225 - 10225
dist/preview release/babylon.d.ts


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.js


+ 2 - 2
dist/preview release/babylon.max.js

@@ -22416,7 +22416,7 @@ var BABYLON;
             this.onProjectionMatrixChangedObservable.notifyObservers(this);
             return this._projectionMatrix;
         };
-        Camera.prototype.getTranformationMatrix = function () {
+        Camera.prototype.getTransformationMatrix = function () {
             this._computedViewMatrix.multiplyToRef(this._projectionMatrix, this._transformMatrix);
             return this._transformMatrix;
         };
@@ -22424,7 +22424,7 @@ var BABYLON;
             if (!this._refreshFrustumPlanes) {
                 return;
             }
-            this.getTranformationMatrix();
+            this.getTransformationMatrix();
             if (!this._frustumPlanes) {
                 this._frustumPlanes = BABYLON.Frustum.GetPlanes(this._transformMatrix);
             }

+ 2 - 2
dist/preview release/babylon.no-module.max.js

@@ -22383,7 +22383,7 @@ var BABYLON;
             this.onProjectionMatrixChangedObservable.notifyObservers(this);
             return this._projectionMatrix;
         };
-        Camera.prototype.getTranformationMatrix = function () {
+        Camera.prototype.getTransformationMatrix = function () {
             this._computedViewMatrix.multiplyToRef(this._projectionMatrix, this._transformMatrix);
             return this._transformMatrix;
         };
@@ -22391,7 +22391,7 @@ var BABYLON;
             if (!this._refreshFrustumPlanes) {
                 return;
             }
-            this.getTranformationMatrix();
+            this.getTransformationMatrix();
             if (!this._frustumPlanes) {
                 this._frustumPlanes = BABYLON.Frustum.GetPlanes(this._transformMatrix);
             }

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/babylon.worker.js


+ 2 - 2
dist/preview release/es6.js

@@ -22383,7 +22383,7 @@ var BABYLON;
             this.onProjectionMatrixChangedObservable.notifyObservers(this);
             return this._projectionMatrix;
         };
-        Camera.prototype.getTranformationMatrix = function () {
+        Camera.prototype.getTransformationMatrix = function () {
             this._computedViewMatrix.multiplyToRef(this._projectionMatrix, this._transformMatrix);
             return this._transformMatrix;
         };
@@ -22391,7 +22391,7 @@ var BABYLON;
             if (!this._refreshFrustumPlanes) {
                 return;
             }
-            this.getTranformationMatrix();
+            this.getTransformationMatrix();
             if (!this._frustumPlanes) {
                 this._frustumPlanes = BABYLON.Frustum.GetPlanes(this._transformMatrix);
             }

+ 4 - 1
dist/preview release/viewer/babylon.viewer.d.ts

@@ -12,6 +12,7 @@ declare module BabylonViewer {
         *
         * An HTML-Based viewer for 3D models, based on BabylonJS and its extensions.
         */
+    import 'babylonjs-loaders';
     import 'pepjs';
     let disableInit: boolean;
     /**
@@ -142,7 +143,7 @@ declare module BabylonViewer {
                 * This will be executed when the templates initialize.
                 */
             protected _onTemplatesLoaded(): Promise<AbstractViewer>;
-            toggleVR(): void;
+            protected _initVR(): void;
             /**
                 * Toggle fullscreen of the entire viewer
                 */
@@ -335,7 +336,9 @@ declare module BabylonViewer {
             toggleHD(): void;
             protected _vrToggled: boolean;
             protected _vrScale: number;
+            protected _vrInit: boolean;
             toggleVR(): void;
+            protected _initVR(): void;
             /**
                 * The resize function that will be registered with the window object
                 */

文件差异内容过多而无法显示
+ 3 - 3
dist/preview release/viewer/babylon.viewer.js


文件差异内容过多而无法显示
+ 894 - 33
dist/preview release/viewer/babylon.viewer.max.js


+ 3 - 1
dist/preview release/viewer/babylon.viewer.module.d.ts

@@ -173,7 +173,7 @@ declare module 'babylonjs-viewer/viewer/defaultViewer' {
                 * This will be executed when the templates initialize.
                 */
             protected _onTemplatesLoaded(): Promise<AbstractViewer>;
-            toggleVR(): void;
+            protected _initVR(): void;
             /**
                 * Toggle fullscreen of the entire viewer
                 */
@@ -376,7 +376,9 @@ declare module 'babylonjs-viewer/viewer/viewer' {
             toggleHD(): void;
             protected _vrToggled: boolean;
             protected _vrScale: number;
+            protected _vrInit: boolean;
             toggleVR(): void;
+            protected _initVR(): void;
             /**
                 * The resize function that will be registered with the window object
                 */

+ 2 - 2
src/Cameras/babylon.camera.ts

@@ -557,7 +557,7 @@
             return this._projectionMatrix;
         }
 
-        public getTranformationMatrix(): Matrix {
+        public getTransformationMatrix(): Matrix {
             this._computedViewMatrix.multiplyToRef(this._projectionMatrix, this._transformMatrix);
             return this._transformMatrix;
         }
@@ -567,7 +567,7 @@
                 return;
             }
 
-            this.getTranformationMatrix();
+            this.getTransformationMatrix();
 
             if (!this._frustumPlanes) {
                 this._frustumPlanes = Frustum.GetPlanes(this._transformMatrix);