Browse Source

Merge pull request #6730 from jasonsturges/errata

Target camera constructor documentation
David Catuhe 6 years ago
parent
commit
5227cf5d85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Cameras/targetCamera.ts

+ 1 - 1
src/Cameras/targetCamera.ts

@@ -85,7 +85,7 @@ export class TargetCamera extends Camera {
     private _defaultUp = Vector3.Up();
 
     /**
-     * Instantiates a target camera that takes a meshor position as a target and continues to look at it while it moves.
+     * Instantiates a target camera that takes a mesh or position as a target and continues to look at it while it moves.
      * This is the base of the follow, arc rotate cameras and Free camera
      * @see http://doc.babylonjs.com/features/cameras
      * @param name Defines the name of the camera in the scene