-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.hpp
More file actions
62 lines (54 loc) · 1.07 KB
/
init.hpp
File metadata and controls
62 lines (54 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef _INIT_HPP_
#define _INIT_HPP_
#include "objloader.hpp"
#include "camara.hpp"
#include "angulo.hpp"
#include "indicePlano.hpp"
#include "textura.hpp"
#include "skybox.hpp"
using namespace std;
using namespace ed;
//extern int largo, alto;
class InitVentana
{
private:
float _height;
float _width;
float _x;
float _y;
bool _fullscreen;
public:
InitVentana(float height = 800, float width = 600, float x = 100, float y = 100, bool fullscreen = false)
{
_height = height;
_width = width;
_x = x;
_y = y;
_fullscreen = fullscreen;
}
inline float getHeight() const
{
return _height;
}
inline float getWidth() const
{
return _width;
}
inline float getX() const
{
return _x;
}
inline float getY() const
{
return _y;
}
inline bool getFullscreen() const
{
return _fullscreen;
}
void initVentana();
};
vector<vector3d> Rotar(vector<vector3d> modelo, vector3d orientacion, float angulo);
vector<vector3d> Escalar(vector<vector3d> modelo, vector3d escala);
vector<vector3d> Trasladar(vector<vector3d> modelo, vector3d nuevasCoordenadas);
#endif