Skip to content

Commit 94154fa

Browse files
Rename wgs82_to_ecef to wgs84_to_ecef (#111)
1 parent ca5a3b4 commit 94154fa

File tree

1 file changed

+2
-2
lines changed
  • wrappers/cpp/examples/wnt/floor_plan_pixel_conversion

1 file changed

+2
-2
lines changed

wrappers/cpp/examples/wnt/floor_plan_pixel_conversion/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static double rad_to_deg(double rad)
6363
* WGS84 coordinates
6464
* \return ECEF coordinates
6565
*/
66-
static point_3d_t wgs82_to_ecef(location_t location)
66+
static point_3d_t wgs84_to_ecef(location_t location)
6767
{
6868
const double a = 6378137.0;
6969
const double finv = 298.257223563;
@@ -197,7 +197,7 @@ static location_t get_location(double *rotation_matrix, point_3d_t reverse_trans
197197
static point_2d_t get_pixel_position(double *rotation_matrix, point_3d_t reverse_transformation_vector,
198198
double scale_pixels_per_meter, location_t location)
199199
{
200-
point_3d_t point_ecef = wgs82_to_ecef(location);
200+
point_3d_t point_ecef = wgs84_to_ecef(location);
201201

202202
point_ecef.x -= reverse_transformation_vector.x;
203203
point_ecef.y -= reverse_transformation_vector.y;

0 commit comments

Comments
 (0)