summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-07-30 21:18:19 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-07-30 21:18:19 +0100
commit0a21d1095f1d8e1ee0e386b5ae746a9981f404bd (patch)
tree9cbf99ba650a4c6eeadf1896fdf4cad28cec98e5 /src
parent2f3f9f45c9bc0044f0fcc8d01024f884b4233f5d (diff)
Latitude <-> Longitude
Diffstat (limited to 'src')
-rw-r--r--src/Panorama.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index d163f38..33b3656 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -349,13 +349,13 @@ Panorama::set_height_dist_ratio(double r) {
}
void
-Panorama::set_view_lat(double v) {
+Panorama::set_view_long(double v) {
view_lam = v * deg2rad;
update_angles();
}
void
-Panorama::set_view_long(double v) {
+Panorama::set_view_lat(double v) {
view_phi = v * deg2rad;
update_angles();
}
@@ -397,12 +397,12 @@ Panorama::get_height_dist_ratio() {
}
double
-Panorama::get_view_lat() {
+Panorama::get_view_long() {
return view_lam / deg2rad;
}
double
-Panorama::get_view_long() {
+Panorama::get_view_lat() {
return view_phi / deg2rad;
}