BMC Engine v1.0.0
An open-source game engine powered by C and C++
Loading...
Searching...
No Matches
Vector.h
1#ifndef VECTOR_H
2#define VECTOR_H
3
7class Vector2 {
8public:
12 int x;
13
17 int y;
18
24 Vector2(int x, int y);
25
30 Vector2(int xy);
31
35 Vector2();
36};
37
41class Vector3 {
42public:
46 int x;
47
51 int y;
52
56 int z;
57
64 Vector3(int x, int y, int z);
65
70 Vector3(int xyz);
71
75 Vector3();
76};
77
78#endif // VECTOR_H
Definition Vector.h:7
int y
Definition Vector.h:17
int x
Definition Vector.h:12
Vector2()
Definition Vector.cpp:17
Definition Vector.h:41
int y
Definition Vector.h:51
Vector3()
Definition Vector.cpp:39
int x
Definition Vector.h:46
int z
Definition Vector.h:56