diff options
Diffstat (limited to 'src/Panorama.H')
-rw-r--r-- | src/Panorama.H | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/Panorama.H b/src/Panorama.H index ae6b839..690ed86 100644 --- a/src/Panorama.H +++ b/src/Panorama.H @@ -1,5 +1,5 @@ // -// "$Id: Panorama.H,v 1.1 2005/04/13 18:07:16 hofmann Exp $" +// "$Id: Panorama.H,v 1.2 2005/04/13 19:09:19 hofmann Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -33,12 +33,21 @@ class Panorama { Mountain *mountains; Mountain *visible_mountains; double pi, deg2rad; + double center_angle; + double scale; int get_pos(const char *name, double *phi, double *lam); - void check_visibility(); + void update_visible_mountains(); + + double distance(double phi, double lam); + + double sin_alpha(double lam, double phi, double c); + + double cos_alpha(double phi, double c); + + double alpha(double phi, double lam); - double Panorama::distance(double phi, double lam); public: Panorama(); @@ -49,5 +58,9 @@ class Panorama { int set_viewpoint(const char *pos); void set_height_dist_ratio(double r); + + Mountain * get_visible_mountains(); + + int get_x(Mountain *m); }; #endif |