@@ -134,7 +134,7 @@ public struct Transform: Equatable {
134134 /// - parameter angle: The angle, in radians, to rotate
135135 /// - parameter axis: The axis around which to rotate, defaults to the z axis {0,0,1}
136136 /// - returns: A `Transform` that can be used to rotate a receiver.
137- public static func makeRotation( _ angle: Double , axis: Vector = Vector ( x: 0 , y: 0 , z : 1 ) ) -> Transform {
137+ public static func makeRotation( _ angle: Double , axis: Vector = Vector ( x: 0 , y: 0 , z: 1 ) ) -> Transform {
138138 if axis. isZero ( ) {
139139 return Transform ( )
140140 }
@@ -201,10 +201,10 @@ public struct Transform: Equatable {
201201 /// - returns: A `CGAffineTransform` that is equivalent to the receiver.
202202 public var affineTransform : CGAffineTransform {
203203 return CGAffineTransform (
204- a: CGFloat ( self [ 0 , 0 ] ) ,
205- b: CGFloat ( self [ 0 , 1 ] ) ,
206- c: CGFloat ( self [ 1 , 0 ] ) ,
207- d: CGFloat ( self [ 1 , 1 ] ) ,
204+ a: CGFloat ( self [ 0 , 0 ] ) ,
205+ b: CGFloat ( self [ 0 , 1 ] ) ,
206+ c: CGFloat ( self [ 1 , 0 ] ) ,
207+ d: CGFloat ( self [ 1 , 1 ] ) ,
208208 tx: CGFloat ( self [ 0 , 3 ] ) ,
209209 ty: CGFloat ( self [ 1 , 3 ] ) )
210210 }
0 commit comments