实体跟随相机
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user