Bläddra i källkod

Merge pull request #6886 from schm-dt/master

Added a typo fix to the ArcRotateCamera setPosition method description
David Catuhe 5 år sedan
förälder
incheckning
05f3650f63
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      dist/preview release/what's new.md
  2. 1 1
      src/Cameras/arcRotateCamera.ts

+ 1 - 0
dist/preview release/what's new.md

@@ -121,6 +121,7 @@
 
 ### Documentation
 - Added a note on shallow bounding of getBoundingInfo ([tibotiber](https://github.com/tibotiber))
+- Added a typo fix to the ArcRotateCamera setPosition method description ([schm-dt](https://github.com/schm-dt))
 
 ## Bug fixes
 - Fixed Textblock line spacing evaluation when linespacing > 0 ([Deltakosh](https://github.com/deltakosh/))

+ 1 - 1
src/Cameras/arcRotateCamera.ts

@@ -930,7 +930,7 @@ export class ArcRotateCamera extends TargetCamera {
     }
 
     /**
-     * Use a position to define the current camera related information like aplha, beta and radius
+     * Use a position to define the current camera related information like alpha, beta and radius
      * @param position Defines the position to set the camera at
      */
     public setPosition(position: Vector3): void {