 //               interpolatedX,
 //               angle));
 
-
+        
         return attributes
     }
 }
+

//    LNICoverFlowLayout.swift
//
//    The MIT License (MIT)
//
//    Copyright (c) 2017 Loud Noise Inc.

import UIKit

/**
    Collection Flow Layout in Swift 3.
 
    Adds cover flow effect to collection view scrolling.
 
    Currently supports only horizontal flow direction.
 */
open class LNICoverFlowLayout:UICollectionViewFlowLayout {
    /**
     *  Maximum degree that can be applied to individual item.
     
     *  Default to 45 degrees.
     */
    open var maxCoverDegree:CGFloat = 45 {
        didSet {
            if maxCoverDegree < 0 {
                maxCoverDegree = 0
            } else if maxCoverDegree > 360 {
                maxCoverDegree = 360
            }
        }
    }
    
    /**
     *  Determines how elements covers each other.
     *  Should be in range 0..1.
