-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.cpp
31 lines (26 loc) · 935 Bytes
/
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
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "Cmd.h"
#include "Context.h"
#include "GlutFunctions.hpp"
#include "Lsystem.h"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <vector>
using std::cout;
using std::endl;
int main(int argc, char **argv) {
try {
cout << "Use <, > (no shift necessary) to change fractal level." << endl;
cout << "Use i,j,k,l to translate and -,= to scale" << endl;
cout << "Use [ and ] to change threshold for dynamic level drawing." << endl;
cout << "Use u and v to change parameter for parameterized fractals." << endl;
readtheconfigfile();
runGlut(argc,argv);
return 0;
} catch (std::exception &error) {
std::cerr << error.what() << endl;
return 1;
}
}