|
From: C. H. <csa...@gm...> - 2009-01-04 16:16:13
|
0x0000000000a6fcd1 in SGGeodesy::SGCartToGeod (cart=@0x7fff5476bb00, geod=@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 |