Last active
          April 20, 2018 06:27 
        
      - 
      
 - 
        
Save nicolas-miari/b6400577f0815e53c9ac9c48fa936fac to your computer and use it in GitHub Desktop.  
    Tau Support for CGFloat
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import CoreGraphics | |
| extension CGFloat { | |
| /// See this: https://tauday.com/tau-manifesto | |
| static var tau: CGFloat { | |
| return 2 * CGFloat.pi | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment