We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214822c commit 29ee347Copy full SHA for 29ee347
CRBoostSwift/Classes/CRMath.swift
@@ -67,7 +67,7 @@ public func CRDistance(start: CGPoint, end: CGPoint) -> CGFloat {
67
}
68
69
@discardableResult
70
-public func CRDistance(start: CGPoint, end: CGPoint) -> CGPoint {
+public func CRCenterPoint(start: CGPoint, end: CGPoint) -> CGPoint {
71
return CGPoint(x: (end.x + start.x) / 2, y: (end.y + start.y) / 2)
72
73
0 commit comments