浏览代码

Fixing type in AbstractScene#materials method.

kireto 5 年之前
父节点
当前提交
293e69f1c5
共有 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>();