Explorar o código

Merge pull request #6944 from sebavan/master

Fix #6943
sebavan %!s(int64=5) %!d(string=hai) anos
pai
achega
f5a208e8b0
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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.
  *
- * 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.
  *
  * 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.
  *
- * 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.
  *
  * !!! THIS REQUIRES AN ACTIVE STENCIL BUFFER ON THE CANVAS !!!