|
|
@@ -28,7 +28,7 @@
|
|
|
#endif
|
|
|
|
|
|
|
|
|
-public struct ConstraintPriority : ExpressibleByFloatLiteral, Strideable, Equatable {
|
|
|
+public struct ConstraintPriority : ExpressibleByFloatLiteral, Equatable {
|
|
|
public typealias FloatLiteralType = Float
|
|
|
|
|
|
public let value: Float
|
|
|
@@ -62,14 +62,6 @@ public struct ConstraintPriority : ExpressibleByFloatLiteral, Strideable, Equata
|
|
|
return 250.0
|
|
|
}
|
|
|
|
|
|
- public func advanced(by n: Float) -> ConstraintPriority {
|
|
|
- return ConstraintPriority(self.value + n)
|
|
|
- }
|
|
|
-
|
|
|
- public func distance(to other: ConstraintPriority) -> Float {
|
|
|
- return other.value - self.value
|
|
|
- }
|
|
|
-
|
|
|
public static func ==(lhs: ConstraintPriority, rhs: ConstraintPriority) -> Bool {
|
|
|
return lhs.value == rhs.value
|
|
|
}
|