浏览代码

Fix typos

David Catuhe 8 年之前
父节点
当前提交
57275f4acf
共有 4 个文件被更改,包括 11285 次插入11285 次删除
  1. 5641 5641
      dist/preview release/babylon.d.ts
  2. 5641 5641
      dist/preview release/babylon.module.d.ts
  3. 3 3
      src/Mesh/babylon.abstractMesh.ts
  4. 二进制
      tests/validation/ReferenceImages/SpaceDeK.png

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


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


+ 3 - 3
src/Mesh/babylon.abstractMesh.ts

@@ -8,7 +8,7 @@
         private static _BILLBOARDMODE_ALL = 7;
 
         public static OCCLUSION_TYPE_NONE = 0;
-        public static OCCLUSION_TYPE_OPTIMISITC = 1;
+        public static OCCLUSION_TYPE_OPTIMISTIC = 1;
         public static OCCLUSION_TYPE_STRICT = 2;
         public static OCCLUSION_ALGORITHM_TYPE_ACCURATE = 0;
         public static OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE = 1;
@@ -145,7 +145,7 @@
 
         * OCCLUSION_TYPE_NONE (Default Value): this option means no occlusion query whith the Mesh.
 
-        * OCCLUSION_TYPE_OPTIMISITC: this option is means use occlusion query and if occlusionRetryCount is reached and the query is broken show the mesh.
+        * OCCLUSION_TYPE_OPTIMISTIC: this option is means use occlusion query and if occlusionRetryCount is reached and the query is broken show the mesh.
 
             * OCCLUSION_TYPE_STRICT: this option is means use occlusion query and if occlusionRetryCount is reached and the query is broken restore the last state of the mesh occlusion if the mesh was visible then show the mesh if was hidden then hide don't show.
          */
@@ -2340,7 +2340,7 @@
 
                         // if optimistic set isOccluded to false regardless of the status of isOccluded. (Render in the current render loop)
                         // if strict continue the last state of the object.
-                        this._isOccluded = this.occlusionType === AbstractMesh.OCCLUSION_TYPE_OPTIMISITC ? false : this._isOccluded;
+                        this._isOccluded = this.occlusionType === AbstractMesh.OCCLUSION_TYPE_OPTIMISTIC ? false : this._isOccluded;
                     }
                     else {
                         return;

二进制
tests/validation/ReferenceImages/SpaceDeK.png