实体跟随相机

This commit is contained in:
yhh
2020-06-08 16:23:48 +08:00
parent f20c460fc6
commit cadd9ab0fc
18 changed files with 925 additions and 54 deletions

View File

@@ -3,7 +3,7 @@ class MathHelper {
* 将弧度转换成角度。
* @param radians 用弧度表示的角
*/
public static ToDegrees(radians: number){
public static toDegrees(radians: number){
return radians * 57.295779513082320876798154814105;
}
@@ -11,7 +11,7 @@ class MathHelper {
* 将角度转换为弧度
* @param degrees
*/
public static ToRadians(degrees: number){
public static toRadians(degrees: number){
return degrees * 0.017453292519943295769236907684886;
}
}