#include <GameModel.h>
 | 
| 
double  | x | 
|   | x component of the vector. 
  | 
|   | 
| 
double  | y | 
|   | y component of the vector. 
  | 
|   | 
      
        
          | gameModel::Vector::Vector  | 
          ( | 
          double  | 
          x,  | 
        
        
           | 
           | 
          double  | 
          y  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
main constructor for the vector. 
- Parameters
 - 
  
    | x | x component of the vector.  | 
    | y | y component of the vector.  | 
  
   
 
 
      
        
          | double gameModel::Vector::abs  | 
          ( | 
           | ) | 
           const | 
        
      
 
get the euclidean norm of the vector. 
- Returns
 - the euclidean norm as double. 
 
 
 
      
        
          | void gameModel::Vector::normalize  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | Vector gameModel::Vector::orthogonal  | 
          ( | 
           | ) | 
           const | 
        
      
 
- Returns
 - makes the vector orthogonal to its old vector 
 
 
 
The documentation for this class was generated from the following files: