-
Notifications
You must be signed in to change notification settings - Fork 0
/
stdafx.h
57 lines (43 loc) · 951 Bytes
/
stdafx.h
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
#pragma once
// Qt OpenGL
#include <QtOpenGL/QGLWidget>
#include <QGLShader>
#include <QGLFormat>
#include <QGLFramebufferObject>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtGui/QMouseEvent>
// Scrollbar
#include <QAbstractScrollArea>
#include <QScrollArea>
#include <QScrollBar>
#include <QColor>
#include <QFileDialog>
#include <QImage>
#include <QImageReader>
#include <QMouseEvent>
#include <QPainter>
#include <QPoint>
#include <QStyle>
#include <QTimer>
#include <QWidget>
#define _USE_MATH_DEFINES
#include <vector>
#include <string>
#include <sstream>
#include <cfloat>
#include <ctime>
#include <cmath>
#include <iostream>
#include <fstream>
//#include <stdio.h>
//#include <stdlib.h>
//#include <math.h>
//#include <malloc.h>
#include <GL/glu.h>
#include <GL/glut.h>
#define my_min(a,b) ((a)<(b) ? (a) : (b))
#define my_max(a,b) ((a)>(b) ? (a) : (b))
#ifndef M_EPS
#define M_EPS 1e-8
#endif