[Kstars-devel] KDE/kdeedu/kstars/kstars

Harshad harshad.rj at gmail.com
Sat Jan 17 11:06:47 CET 2009


Hi Akarsh,

The amount of work you are putting in here is astonishing!

What is this fascination with "me"?


> -            KSAsteroid *me = (KSAsteroid *)this;
> -            H = me -> getAbsoluteMagnitude();
> -            G = me -> getSlopeParameter();
> -            KSComet *me = (KSComet *) this;
> -            H = me -> getAbsoluteMagnitude();
> -            G = me -> getSlopeParameter();
> +        KSAsteroid *me = (KSAsteroid *)this;
> +        H = me -> getAbsoluteMagnitude();
> +        G = me -> getSlopeParameter();
> +        KSComet *me = (KSComet *)this;
> +        H = me -> getAbsoluteMagnitude();
> +        G = me -> getSlopeParameter();
> +        magnitude = H + 5.0 * log10( rearth() ) + 2.5 * G * log10( rsun()

-- 
Harshad
http://hrj.wikidot.com



More information about the Kstars-devel mailing list