* Torsten Dreyer -- Wednesday 06 December 2006 11:24:
* * Melchior FRANZ -- Wednesday 06 December 2006 11:08:
> > The interface remains the same.
> Good to know.

... but looking at your Seneca code, I think about making the
following change: the constructor could/would look like this:

  light.new(<property>, <pattern-array> [, <switch>]);

Example:

  var foo = aircraft.light.new("/sim/model/foo/light",
                               [0.05, 0.05, 0.05, 0.05, 0.05, 1.0]);

That is, the second, mandatory argument would be an array with
an even number of values, each pair of which is an on/off.
I don't think I'd support the old method then, but would convert
all usage of aircraft.light() in CVS.

m.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to