-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
executable file
·91 lines (67 loc) · 2.99 KB
/
main.cpp
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#include <QApplication>
#include <iostream>
#include "Exceptions/Exception.h++"
#include "Exceptions/Math.h++"
#include "Exceptions/Memory.h++"
#include "Exceptions/Range.h++"
#include "Settings/Settings.h++"
#include "Geometry/Basics/Point2.h++"
#include "Geometry/Basics/Point3.h++"
#include "Geometry/Basics/Angle.h++"
#include "Geometry/Basics/Vector.h++"
#include "Geometry/Transform/PointTransformer.h++"
#include "Graphics/Basics/ShadingCoefficients.h++"
#include "Graphics/Basics/Vertex.h++"
#include "Graphics/Basics/RGBA.h++"
#include "Graphics/Basics/Polygon.h++"
#include "Graphics/Scene/ISceneObject.h++"
#include "Graphics/Scene/CompositeSceneObject.h++"
#include "Graphics/Scene/BaseSceneObject.h++"
#include "Graphics/Scene/ConcreteObjects/SingleSidePlane.h++"
#include "Graphics/Scene/ConcreteObjects/Box.h++"
#include "Graphics/Scene/ConcreteObjects/Scene.h++"
#include "Graphics/Scene/ConcreteObjects/Lights/ILight.h++"
#include "Graphics/Scene/ConcreteObjects/Lights/DotLight.h++"
#include "Graphics/Scene/ConcreteObjects/Lights/AmbientLight.h++"
#include "Graphics/Scene/ConcreteObjects/Cameras/ICamera.h++"
#include "Graphics/Scene/ConcreteObjects/Cameras/Camera.h++"
#include "Graphics/Screen/Screen.h++"
#include "Graphics/Screen/CameraPyramid.h++"
#include "Graphics/Screen/Render/IRenderer.h++"
#include "Graphics/Screen/Render/Renderer.h++"
#include "Graphics/Screen/Render/RenderableObjects/IRenderable.h++"
#include "Graphics/Screen/Render/RenderableObjects/3D/RenderablePolygon.h++"
#include "Graphics/Screen/Render/RenderableObjects/3D/Renderable3DObject.h++"
#include "Graphics/Screen/Render/RenderableObjects/Lights/IRenderableLight.h++"
#include "Graphics/Screen/Render/RenderableObjects/Lights/RenderableDotLight.h++"
#include "Graphics/Screen/Render/Shaders/IShader.h++"
#include "Graphics/Screen/Render/Shaders/SceletShader.h++"
#include "Graphics/Screen/Render/Shaders/LambertShader.h++"
#include "Graphics/Screen/Render/Shaders/GouraudShader.h++"
#include "Graphics/Screen/Render/Shaders/PhongShader.h++"
#include "Graphics/Materials/IMaterial.h++"
#include "Graphics/Materials/ColorMaterial.h++"
#include "Utils/Interpolation/Interpolator.h++"
#include "Utils/Interpolation/LineInterpolation/LineInterpolator.h++"
#include "Utils/Interpolation/LineInterpolation/ILineInterpolatorLine.h++"
#include "Utils/Interpolation/LineInterpolation/Point2InterpolationLine.h++"
#include "Utils/Containers/DynArray.h++"
#include "Utils/Containers/Matrix.h++"
#include "Utils/Containers/Pair.h++"
#include "Utils/Containers/RangedValue.h++"
#include "GUI/MainWindow.h++"
#include "GUI/ScreenView.h++"
#include "GUI/RightMenu.h++"
#include "GUI/CoordsRow.h++"
#include "GUI/Facade.h++"
int main(int argc, char *argv[]) {
QApplication a(argc, argv);
MainWindow w(1280, 720, 250, 250);
w.show();
return QApplication::exec();
// QApplication a(argc, argv);
// QPushButton button("Hello world!", nullptr);
// button.resize(200, 100);
// button.show();
// return QApplication::exec();
}