StarWrapper.hpp   StarWrapper.hpp 
skipping to change at line 84 skipping to change at line 84
const Star *s) : a(a), z(z), s(s) {;} const Star *s) : a(a), z(z), s(s) {;}
Vec3d getJ2000EquatorialPos(const StelCore* core) const Vec3d getJ2000EquatorialPos(const StelCore* core) const
{ {
static const double d2000 = 2451545.0; static const double d2000 = 2451545.0;
Vec3f v; Vec3f v;
s->getJ2000Pos(z, (M_PI/180.)*(0.0001/3600.) * ((core->getJD ay()-d2000)/365.25) / a->star_position_scale, v); s->getJ2000Pos(z, (M_PI/180.)*(0.0001/3600.) * ((core->getJD ay()-d2000)/365.25) / a->star_position_scale, v);
return Vec3d(v[0], v[1], v[2]); return Vec3d(v[0], v[1], v[2]);
} }
Vec3f getInfoColor(void) const Vec3f getInfoColor(void) const
{ {
return StelSkyDrawer::indexToColor(s->bV); return StelSkyDrawer::indexToColor(s->getBVIndex());
} }
float getVMagnitude(const StelCore* core) const float getVMagnitude(const StelCore* core) const
{ {
Q_UNUSED(core); Q_UNUSED(core);
return 0.001f*a->mag_min + s->mag*(0.001f*a->mag_range)/a->m ag_steps; return 0.001f*a->mag_min + s->getMag()*(0.001f*a->mag_range) /a->mag_steps;
} }
float getBV(void) const {return s->getBV();} float getBV(void) const {return s->getBV();}
QString getEnglishName(void) const {return QString();} QString getEnglishName(void) const {return QString();}
QString getNameI18n(void) const {return s->getNameI18n();} QString getNameI18n(void) const {return s->getNameI18n();}
virtual double getAngularSize(const StelCore*) const {return 0.;} virtual double getAngularSize(const StelCore*) const {return 0.;}
protected: protected:
const SpecialZoneArray<Star> *const a; const SpecialZoneArray<Star> *const a;
const SpecialZoneData<Star> *const z; const SpecialZoneData<Star> *const z;
const Star *const s; const Star *const s;
}; };
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/