This structure defines a vector quantity (x,y)
More...
#include "../include/Vect.h"
This structure defines a vector quantity (x,y)
- Author
- Dan Vietor
◆ Vect() [1/2]
Constructor. Initializes class values
References init().
◆ Vect() [2/2]
Vect::Vect |
( |
float |
rx, |
|
|
float |
ry |
|
) |
| |
Constructor. Sets the values
- Parameters
-
References set().
◆ add()
int Vect::add |
( |
Vect & |
v1 | ) |
|
◆ init()
◆ print()
◆ scale()
int Vect::scale |
( |
float |
sc | ) |
|
◆ set()
int Vect::set |
( |
float |
rx, |
|
|
float |
ry |
|
) |
| |
Sets the values
- Parameters
-
Referenced by Vect().
◆ sub()
int Vect::sub |
( |
Vect & |
v1 | ) |
|
The documentation for this class was generated from the following files: