sebavan 5 years ago
parent
commit
d4d961fc13
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Layers/glowLayer.ts
  2. 1 1
      src/Layers/highlightLayer.ts

+ 1 - 1
src/Layers/glowLayer.ts

@@ -85,7 +85,7 @@ export interface IGlowLayerOptions {
 /**
 /**
  * The glow layer Helps adding a glow effect around the emissive parts of a mesh.
  * The glow layer Helps adding a glow effect around the emissive parts of a mesh.
  *
  *
- * Once instantiated in a scene, simply use the pushMesh or removeMesh method to add or remove
+ * Once instantiated in a scene, simply use the addMesh or removeMesh method to add or remove
  * glowy meshes to your scene.
  * glowy meshes to your scene.
  *
  *
  * Documentation: https://doc.babylonjs.com/how_to/glow_layer
  * Documentation: https://doc.babylonjs.com/how_to/glow_layer

+ 1 - 1
src/Layers/highlightLayer.ts

@@ -166,7 +166,7 @@ interface IHighlightLayerExcludedMesh {
 /**
 /**
  * The highlight layer Helps adding a glow effect around a mesh.
  * The highlight layer Helps adding a glow effect around a mesh.
  *
  *
- * Once instantiated in a scene, simply use the pushMesh or removeMesh method to add or remove
+ * Once instantiated in a scene, simply use the addMesh or removeMesh method to add or remove
  * glowy meshes to your scene.
  * glowy meshes to your scene.
  *
  *
  * !!! THIS REQUIRES AN ACTIVE STENCIL BUFFER ON THE CANVAS !!!
  * !!! THIS REQUIRES AN ACTIVE STENCIL BUFFER ON THE CANVAS !!!