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