Meteor.cpp   Meteor.cpp 
skipping to change at line 53 skipping to change at line 53
Meteor::~Meteor() Meteor::~Meteor()
{ {
m_bolideTexture.clear(); m_bolideTexture.clear();
m_lineColorVector.clear(); m_lineColorVector.clear();
m_trainColorVector.clear(); m_trainColorVector.clear();
} }
void Meteor::init(const float& radiantAlpha, const float& radiantDelta, void Meteor::init(const float& radiantAlpha, const float& radiantDelta,
const float& speed, const QList<ColorPair> colors) const float& speed, const QList<ColorPair> colors)
{ {
// meteor velocity in km/s // meteor speed in km/s
m_speed = speed; m_speed = speed;
// find the radiant in horizontal coordinates // find the radiant in horizontal coordinates
Vec3d radiantAltAz; Vec3d radiantAltAz;
StelUtils::spheToRect(radiantAlpha, radiantDelta, radiantAltAz); StelUtils::spheToRect(radiantAlpha, radiantDelta, radiantAltAz);
radiantAltAz = m_core->j2000ToAltAz(radiantAltAz); radiantAltAz = m_core->j2000ToAltAz(radiantAltAz);
float radiantAlt, radiantAz; float radiantAlt, radiantAz;
// S is zero, E is 90 degrees (SDSS) // S is zero, E is 90 degrees (SDSS)
StelUtils::rectToSphe(&radiantAz, &radiantAlt, radiantAltAz); StelUtils::rectToSphe(&radiantAz, &radiantAlt, radiantAltAz);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/