Prechádzať zdrojové kódy

Merge pull request #6944 from sebavan/master

Fix #6943
sebavan 5 rokov pred
rodič
commit
f5a208e8b0
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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 !!!