Go to the source code of this file.
|
struct | C_Vec2 |
| Contains the Vec2 structure with functions and overloaded operators. More...
|
|
Overloads the * operator allowing a Vec2 to be multiplied by a scalar.
- Parameters
-
vecInA | One of the input Vec2's. |
scalar | The scalar to multiply by. |
- Returns
- The new vector.
Overloads the * operator allowing a Vec2 to be multiplied by another Vec2.
- Parameters
-
vecInA | One of the input Vec2's. |
vecInB | One of the input Vec2's. |
- Returns
- The new vector.
Overloads the + operator.
- Parameters
-
vecInA | One of the input Vec2's. |
vecInB | One of the input Vec2's. |
- Returns
- The new vector.
Overloads the - operator allowing a Vec2 to be inverted.
- Parameters
-
- Returns
- The new vector.
Overloads the - operator allowing Vec2's to be subtracted from each other.
- Parameters
-
vecInA | One of the input Vec2's. |
vecInB | One of the input Vec2's. |
- Returns
- The new vector.
Overloads the / operator allowing a Vec2 to be divided by a scalar.
- Parameters
-
vecInA | One of the input Vec2's. |
scalar | The scalar to divide by. |
- Returns
- The new vector.