Last change
on this file since 5506 was
3919,
checked in by bensch, 20 years ago
|
orxonox/branches/heightMap: branche heightmap compiles again
|
-
Property svn:executable set to
*
|
File size:
415 bytes
|
Line | |
---|
1 | #include <iostream> |
---|
2 | using namespace std; |
---|
3 | |
---|
4 | #include "heightMapViewer.h" |
---|
5 | |
---|
6 | int verbose = 3; |
---|
7 | |
---|
8 | int main(int argc, char *argv[]) |
---|
9 | { |
---|
10 | HeightMapViewer viewer; |
---|
11 | |
---|
12 | if (argc <= 1) |
---|
13 | { |
---|
14 | cout << "specify a 8-bit greyscale bmp-file to load as argument!" << endl; |
---|
15 | return -1; |
---|
16 | } |
---|
17 | |
---|
18 | // initialize |
---|
19 | if (viewer.init(argv[1]) == false) |
---|
20 | { |
---|
21 | cout << "could not init. exiting." << endl; |
---|
22 | return -1; |
---|
23 | } |
---|
24 | |
---|
25 | viewer.run(); |
---|
26 | |
---|
27 | return 0; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.