浏览代码

Merge pull request #6886 from schm-dt/master

Added a typo fix to the ArcRotateCamera setPosition method description
David Catuhe 5 年之前
父节点
当前提交
05f3650f63
共有 2 个文件被更改,包括 2 次插入1 次删除
  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 {