-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLoader.h
More file actions
50 lines (44 loc) · 831 Bytes
/
Loader.h
File metadata and controls
50 lines (44 loc) · 831 Bytes
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
#ifndef __LOADER_H_
#define __LOADER_H_
#include "Structs.h"
#include "Color.h"
#include "Vector.h"
#include "Object.h"
#include "Source.h"
#include "Light.h"
#include "Plane.h"
#include "Sphere.h"
#include "Triangle.h"
#include "libs/pugixml.hpp"
#include <fstream>
#include <sstream>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
class Loader{
int width;
int height;
int dpi;
int depth;
double threshold;
string author;
string modelName;
string date;
Vector camPos;
Vector lookAt;
public:
Loader(const char*, vector<Object*>&, vector<Source*>&);
int getWidth();
int getHeight();
int getDpi();
int getDepth();
double getThreshold();
string getModelName();
string getAuthor();
string getDate();
Vector getCameraPosition();
Vector getLookAt();
};
#endif