Skip to content

Commit 3a4e448

Browse files
committed
Add Init(rawValueAsDegrees:_)
1 parent 54c25f2 commit 3a4e448

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/GameMath/Degrees & Radians.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public protocol Angle: Sendable, RawRepresentable, FloatingPoint, Comparable whe
2020
init(_ rawValue: RawValue)
2121
init(rawValue: RawValue)
2222
init(rawValueAsRadians: RawValue)
23+
init(rawValueAsDegrees: RawValue)
2324
}
2425

2526
public extension Angle {

0 commit comments

Comments
 (0)