Skip to content

Commit

Permalink
Bug fix for CATransform3D + CGAffineTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
marmelroy committed May 4, 2016
1 parent b9c5e80 commit d663f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Interpolate/Interpolatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ extension CGAffineTransform: Interpolatable {
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .CGFloat, vectors: [a, b, c, d, tx, ty])
return IPValue(type: .CGAffineTransform, vectors: [a, b, c, d, tx, ty])
}
}

Expand All @@ -145,7 +145,7 @@ extension CATransform3D: Interpolatable {
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .CGFloat, vectors: [m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44])
return IPValue(type: .CATransform3D, vectors: [m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44])
}
}

Expand Down

0 comments on commit d663f15

Please sign in to comment.