From 3339450478a40ce81e129a9efe160fe6f2b43216 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 1 May 2018 23:33:19 -0400 Subject: [PATCH] update planet position function name in readme example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a56539e..335d1f7 100644 --- a/README.md +++ b/README.md @@ -86,13 +86,13 @@ Implemented algorithms include: * Find the position of a planet with respect to the Sun ```rust // the heliocentric point and radius vector of a planet, like Jupiter - let (jup_long, jup_lat, rad_vec) = planet::heliocent_pos(&planet::Planet::Jupiter, julian_day); + let (jup_long, jup_lat, rad_vec) = planet::heliocent_coords(&planet::Planet::Jupiter, julian_day); // or neptune - let (nep_long, nep_lat, rad_vec) = planet::heliocent_pos(&planet::Planet::Neptune, julian_day); + let (nep_long, nep_lat, rad_vec) = planet::heliocent_coords(&planet::Planet::Neptune, julian_day); // positioning for all the eight planets (and (the dwarf planet) Pluto) is supported - let (plut_long, plut_lat, rad_vec) = pluto::heliocent_pos(julian_day); + let (plut_long, plut_lat, rad_vec) = pluto::heliocent_coords(julian_day); ``` * Find the geodesic distance between two locations on Earth