瀏覽代碼

Merge pull request #6964 from thebravoman/master

AbstractScene#materials has two typos in JSDoc
David Catuhe 5 年之前
父節點
當前提交
8b339dc9c3
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/abstractScene.ts

+ 2 - 2
src/abstractScene.ts

@@ -158,8 +158,8 @@ export abstract class AbstractScene {
     /**
     * All of the materials added to this scene
     * In the context of a Scene, it is not supposed to be modified manually.
-    * Any addition or removal should be done using the addMaterial and removeMAterial Scene methods.
-    * Note also that the order of the Material wihin the array is not significant and might change.
+    * Any addition or removal should be done using the addMaterial and removeMaterial Scene methods.
+    * Note also that the order of the Material within the array is not significant and might change.
     * @see http://doc.babylonjs.com/babylon101/materials
     */
     public materials = new Array<Material>();