File tree 1 file changed +2
-2
lines changed
wrappers/cpp/examples/wnt/floor_plan_pixel_conversion
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ static double rad_to_deg(double rad)
63
63
* WGS84 coordinates
64
64
* \return ECEF coordinates
65
65
*/
66
- static point_3d_t wgs82_to_ecef (location_t location )
66
+ static point_3d_t wgs84_to_ecef (location_t location )
67
67
{
68
68
const double a = 6378137.0 ;
69
69
const double finv = 298.257223563 ;
@@ -197,7 +197,7 @@ static location_t get_location(double *rotation_matrix, point_3d_t reverse_trans
197
197
static point_2d_t get_pixel_position (double * rotation_matrix , point_3d_t reverse_transformation_vector ,
198
198
double scale_pixels_per_meter , location_t location )
199
199
{
200
- point_3d_t point_ecef = wgs82_to_ecef (location );
200
+ point_3d_t point_ecef = wgs84_to_ecef (location );
201
201
202
202
point_ecef .x -= reverse_transformation_vector .x ;
203
203
point_ecef .y -= reverse_transformation_vector .y ;
You can’t perform that action at this time.
0 commit comments