Skip to content

Commit

Permalink
fix: Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy committed Jan 13, 2025
1 parent a134fc7 commit 451af25
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,6 @@ public float2 RotatedPosition {
}
}

/// <summary>
/// Returns the current position of the flipper between 0 and 1, where 0 is the
/// start position, and 1 the end position.
/// </summary>
public float RotatePosition {
get {
var start = (_startAngle + 360) % 360;
var end = (EndAngle + 360) % 360;
return 1 - (transform.localEulerAngles.y - start) / (end - start);
}
}

#endregion

#region Conversion
Expand Down

0 comments on commit 451af25

Please sign in to comment.