EngineLib
Main Page
Classes
Files
File List
All
Classes
Functions
src
math.h
1
/*
2
* math.h
3
*
4
* Created on: 18.10.2017
5
* Author: robert
6
*/
7
8
#ifndef MATH_H_
9
#define MATH_H_
10
11
12
class
Vector2D
{
13
public
:
14
float
x,y;
15
};
16
17
class
Vector3D
{
18
public
:
19
float
x,y,z;
20
};
21
22
class
Point2D
{
23
public
:
24
Point2D
();
25
Point2D
(
int
x,
int
y);
26
//copy constructor
27
Point2D
(
const
Point2D
&p2) {
28
this->x=p2.x;
29
this->y = p2.y;
30
}
31
32
void
AddVector(
Vector2D
v);
33
34
35
int
x,y;
36
37
};
38
39
40
#endif
/* MATH_H_ */
Vector3D
Definition:
math.h:17
Point2D
Definition:
math.h:22
Vector2D
Definition:
math.h:12
Generated on Tue Oct 29 2019 01:10:34 for EngineLib by
1.8.6