This commit is contained in:
Emma Broman
2020-10-12 09:15:07 +02:00
parent 9616782ab7
commit bf49ad76f2
3 changed files with 20 additions and 20 deletions

View File

@@ -30,13 +30,13 @@
namespace openspace {
/**
* Converts from ICRS coordinates to galactic cartesian coordinates.
* \param ra Right ascension, given in decimal degrees
* \param dec Declination, given in decimal degrees
* \param distance The distance, or radius, to the position given in any unit.
* \return A position in galactic cartesian coordinates, given in the same unit as the
* distance parameter.
*/
* Converts from ICRS coordinates to galactic cartesian coordinates.
* \param ra Right ascension, given in decimal degrees
* \param dec Declination, given in decimal degrees
* \param distance The distance, or radius, to the position given in any unit.
* \return A position in galactic cartesian coordinates, given in the same unit as the
* distance parameter.
*/
glm::dvec3 icrsToGalacticCartesian(float ra, float dec, double distance);
} // namespace openspace