CATransform3D

struct CATransform3D
  • Create CATransform3D to fit quad inside a given bounds

    Declaration

    Swift

    public init(toFit quad: MUQuad, from bounds: CGRect)
  • Create CATransform3D to fit quad inside a given quad

    Declaration

    Swift

    public init(perspectiveFrom quad: MUQuad, to destinationQuad: MUQuad)