On Thursday 02 March 2006 09:55, Oliver Schroeder wrote: > The FG-protocoll sends a vector as orientation data, defined as: > > --- cut --- > // orientation wrt the earth centered frame, stored in the angle axis > // representation where the angle is coded into the axis length > xdr_data_t orientation[3]; > --- cut --- > > I can either compute a degree value (0=north, 180=south etc) and provide > the map with this as an additional value or provide the complete vector. > > Since the map uses the telnet interface to the server, which in fact wasn't > meant to get "abused" that way but let humans have a look at current > clients, I suggest to let the server print out a degree value so humans can > make sense of that value, too. Well the choice to use that 'compressed angle axis' format for the orientation is to have a minimum size format for that data to gain a maximum of additional space for additional information like property changes.
Greetings Mathias -- Mathias Fröhlich, email: [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel