BMC Engine
v1.0.0
An open-source game engine powered by C and C++
Loading...
Searching...
No Matches
BMC-ENGINE
classes
math
Vector.h
1
#ifndef VECTOR_H
2
#define VECTOR_H
3
7
class
Vector2
{
8
public
:
12
int
x
;
13
17
int
y
;
18
24
Vector2
(
int
x
,
int
y
);
25
30
Vector2
(
int
xy);
31
35
Vector2
();
36
};
37
41
class
Vector3
{
42
public
:
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
Vector2
Definition
Vector.h:7
Vector2::y
int y
Definition
Vector.h:17
Vector2::x
int x
Definition
Vector.h:12
Vector2::Vector2
Vector2()
Definition
Vector.cpp:17
Vector3
Definition
Vector.h:41
Vector3::y
int y
Definition
Vector.h:51
Vector3::Vector3
Vector3()
Definition
Vector.cpp:39
Vector3::x
int x
Definition
Vector.h:46
Vector3::z
int z
Definition
Vector.h:56
Generated by
1.11.0