BMC Engine v1.0.0
An open-source game engine powered by C and C++
|
#include <Vector.h>
Public Member Functions | |
Vector2 (int x, int y) | |
Vector2 (int xy) | |
Vector2 () | |
Public Attributes | |
int | x |
int | y |
Two-component vector (X/Y)
Vector2::Vector2 | ( | int | x, |
int | y ) |
Vector2::Vector2 | ( | int | xy | ) |
Vector2::Vector2 | ( | ) |
Create a blank Vector2, with X/Y = 0.
int Vector2::x |
The X coordinate of the Vector2.
int Vector2::y |
The Y coordinate of the Vector2.