Vc Type
Vc is an immutable 2D vector with any length. Made up from 2 floats: X and Y.
2D unit-vectors with length 1.0 are called 'UnitVc'. 3D vectors are called 'Vec'.
Record fields
| Record Field | 
            Description
             | 
        
            
                
              
              
                  Full Usage: 
                   
              X
                  Field type: float
                  
                   | 
          
            
                
              Gets the X part of this 2D vector. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              Y
                  Field type: float
                  
                   | 
          
            
                
              Gets the Y part of this 2D vector. 
  | 
        
Constructors
| Constructor | 
            Description
             | 
        
            
                
              Create a new 2D vector with any length. Made up from 2 floats: X and Y. 
 
  | 
        
Instance members
| Instance member | 
            Description
             | 
        
            
                
              
              
                  Full Usage: 
                   
              this.AsString
                  Returns: string
                  
                   | 
          
            
                
              Format 2D vector into string with nice floating point number formatting of X and Y But without full type name or length as in v.ToString() 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.Length
                  Returns: float
                  
                  Modifiers: inline  | 
          
            
                
              Returns the length of the 2D vector. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.LengthSq
                  Returns: float
                  
                  Modifiers: inline  | 
          
            
                
              Returns the squared length of the 2D vector. The square length is faster to calculate and often good enough for use cases such as sorting vectors by length. 
  | 
        
Static members
| Static member | 
            Description
             | 
        
            
                
              
              
             | 
          |
            
                
              Returns a zero length vector: Vc(0, 0) 
  | 
        
            Euclid