mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
parent
24404b4adf
commit
6616ec1808
@ -72,8 +72,8 @@ namespace Spine {
|
||||
public float WorldSignY { get { return worldSignY; } }
|
||||
public float WorldRotationX { get { return MathUtils.Atan2(c, a) * MathUtils.radDeg; } }
|
||||
public float WorldRotationY { get { return MathUtils.Atan2(d, b) * MathUtils.radDeg; } }
|
||||
public float WorldScaleX { get { return (float)Math.Sqrt(a * a + b * b) * worldSignX; } }
|
||||
public float WorldScaleY { get { return (float)Math.Sqrt(c * c + d * d) * worldSignY; } }
|
||||
public float WorldScaleX { get { return (float)Math.Sqrt(a * a + c * c) * worldSignX; } }
|
||||
public float WorldScaleY { get { return (float)Math.Sqrt(b * b + d * d) * worldSignY; } }
|
||||
|
||||
/// <param name="parent">May be null.</param>
|
||||
public Bone (BoneData data, Skeleton skeleton, Bone parent) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user