0x0000000000a6fcd1 in SGGeodesy::SGCartToGeod (ca...@0x7fff5476bb00, ge...@0x7fff5476bae0) at simgear/math/SGGeodesy.cxx:96 96 geod.setElevationM((k+e2-1)*sqrtDDpZZ/k); (gdb) p k $1 = 0
It can't convert (0, 0, 0). Not sure what to do about this, just return (0, 0, 0) as result too? If this conversion is not defined, then for nasal callers f_carttogeod in Scripting/NasalSys.cxx should probably check and throw an error. -- Csaba/Jester ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel