Skip to content

Commit 29ee347

Browse files
author
Eric Wu
committed
命名错误
1 parent 214822c commit 29ee347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CRBoostSwift/Classes/CRMath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public func CRDistance(start: CGPoint, end: CGPoint) -> CGFloat {
6767
}
6868

6969
@discardableResult
70-
public func CRDistance(start: CGPoint, end: CGPoint) -> CGPoint {
70+
public func CRCenterPoint(start: CGPoint, end: CGPoint) -> CGPoint {
7171
return CGPoint(x: (end.x + start.x) / 2, y: (end.y + start.y) / 2)
7272
}
7373

0 commit comments

Comments
 (0)