Explorar o código

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

kireto %!s(int64=5) %!d(string=hai) anos
pai
achega
4b35d9e8e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 !!!