From 7bf6b08fcda6c2fc37405e4a77f23b73191bd671 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 14 Nov 2005 22:28:49 +0100 Subject: fix ProjectionSphaeric::comp_params() sprinkle some const add copy constructor to Hill --- src/ProjectionTangential.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ProjectionTangential.H') diff --git a/src/ProjectionTangential.H b/src/ProjectionTangential.H index 6ebb91d..d4646d7 100644 --- a/src/ProjectionTangential.H +++ b/src/ProjectionTangential.H @@ -31,11 +31,11 @@ class ProjectionTangential : public Projection { double comp_scale(double alph_a, double alph_b, double d1, double d2); - int optimize(Hill *m1, Hill *m2, ViewParams *parms); + int optimize(const Hill *m1, const Hill *m2, ViewParams *parms); public: void set_coordinates(Hill *m, const ViewParams *parms); - int comp_params(Hill *m1, Hill *m2, ViewParams *parms); + int comp_params(const Hill *m1, const Hill *m2, ViewParams *parms); }; #endif -- cgit v1.2.3