1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #ifndef MANDEL_MANDELUTIL_H
- #define MANDEL_MANDELUTIL_H
- namespace mnd
- {
- struct MandelViewport;
- struct MandelInfo;
- }
- struct mnd::MandelViewport
- {
-
- double x = -2.1;
-
- double y = -1.5;
-
- double width = 3;
-
- double height = 3;
-
- void adjustAspectRatio(double nwidth, double nheight);
-
- void normalize(void);
-
- void zoomCenter(float scale);
-
- static MandelViewport standardView(void);
- };
- struct mnd::MandelInfo
- {
-
- MandelViewport view;
-
- long bWidth;
-
- long bHeight;
-
-
- int maxIter;
- };
- #endif
|