Explorar o código

Merge pull request #6730 from jasonsturges/errata

Target camera constructor documentation
David Catuhe %!s(int64=6) %!d(string=hai) anos
pai
achega
5227cf5d85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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