Point3D geod = sgCartToGeod(Point3D(hit[0], hit[1], hit[2]));
- static SGPropertyNode_ptr lon
+ static const SGPropertyNode_ptr lon
= fgGetNode("/sim/input/click/longitude-deg", true);
- static SGPropertyNode_ptr lat
+ static const SGPropertyNode_ptr lat
= fgGetNode("/sim/input/click/latitude-deg", true);
- static SGPropertyNode_ptr elev_m
+ static const SGPropertyNode_ptr elev_m
= fgGetNode("/sim/input/click/elevation-m", true);
- static SGPropertyNode_ptr elev_ft
+ static const SGPropertyNode_ptr elev_ft
= fgGetNode("/sim/input/click/elevation-ft", true);
lon->setDoubleValue(geod.lon() * SGD_RADIANS_TO_DEGREES);