Browse Source

[JSDoc] Fix in HighlightLayer documentation to say 'addMesh' instead of 'pushMesh'

kireto 5 năm trước cách đây
mục cha
commit
4b35d9e8e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Layers/highlightLayer.ts

+ 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 !!!