[simplify opengl image constructor interface
Andreas Röver <roever@users.sourceforge.net>**20060216153312] {
hunk ./src/gui/Image.cpp 22
-Image::Image(unsigned int w, unsigned int h, VoxelDrawer * dr, const VoxelView *v3d) : width(w), height(h) {
+Image::Image(unsigned int w, unsigned int h, ShadowView * dr) : width(w), height(h) {
hunk ./src/gui/Image.cpp 27
-  trTileSize(tr, v3d->w(), v3d->h(), 0);
-  trPerspective(tr, 5 + v3d->getSize(), 1.0, 10, 1100);
-
+  trTileSize(tr, dr->getView()->w(), dr->getView()->h(), 0);
hunk ./src/gui/Image.cpp 29
+  trPerspective(tr, 5 + dr->getView()->getSize(), (double)w/h, 10, 1100);
+
hunk ./src/gui/Image.h 5
-#include "VoxelDrawer.h"
hunk ./src/gui/Image.h 21
-    Image(unsigned int width, unsigned int height, VoxelDrawer * dr, const VoxelView * v3d);
+    Image(unsigned int width, unsigned int height, ShadowView * dr);
}
