Re: [Flightgear-devel] Slightly OT: Vector math question(s)!

2004-04-29 Thread Charles Puffer
Matthew Law wrote:

Arnt Karlsen wrote:

..be adviced the guys here torched me for suggesting redoing FG in C, 
so I guess you by "C" really meant C++, no?  ;-)
 

No I really did mean C :-)  I'm not suggesting redoing anything, just 
writing an app which may be useful to real pilots and FG pilots too.

AFAIK (and I don't know much!) the free palm development tools for 
linux are all C-based.

All the best,

Matt.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Just use C++ and avoid all the ++ extensions it should compile ok. :)

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Slightly OT: Vector math question(s)!

2004-04-29 Thread Matthew Law
Arnt Karlsen wrote:

..be adviced the guys here torched me for suggesting redoing FG in C, 
so I guess you by "C" really meant C++, no?  ;-)
 

No I really did mean C :-)  I'm not suggesting redoing anything, just 
writing an app which may be useful to real pilots and FG pilots too.

AFAIK (and I don't know much!) the free palm development tools for linux 
are all C-based.

All the best,

Matt.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Slightly OT: Vector math question(s)!

2004-04-28 Thread Arnt Karlsen
On Wed, 28 Apr 2004 14:09:51 +0100, Matthew wrote in message 
<[EMAIL PROTECTED]>:

> I'm about to start writing something in C to calculate the heading 
> required to maintain a track and the resultant ground speed given a
> wind vector.  This is destined to be a simple flight planner for my
> Palm but I'd like to make an interface to FG so that in theory you
> could save a real flight and replay it in FG with the same conditions.
> 
> I envisage creating a struct to hold the the polar co-ords of each of 
> the vectors involved i.e. magnitude and angle from 0 deg.  Given that 
> the processor in a palm is not that beefy should I be storing and 
> calculating the vectors this way or using the cartesian system?
> 
> I'm a total C newbie so please go easy on me :-)

..be adviced the guys here torched me for suggesting redoing FG in C, 
so I guess you by "C" really meant C++, no?  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel