HI Manuel,
Manuel Massing wrote:
Hi Mathias,
this reminds me that I had implemented the attached cleanup-patch for SGLocation (as part of the abstract terrain API). I currently don't have the
time to finish the API, so the patch is a bit out of context (requires some
small changes in flightgear), but if you are currently working on the
transform system you might find parts of it useful...
I'm trying to get this included in CVS but it is a bit out of sync.
It does take care of a few oddities in SGLocation [e.g. getAbsolutePosition() required the scenery_center as parameter (but does not depend on it), while get_relative_pos took no argument etc.]. Dunno if these oddities really manifest as bugs, but IMO they made the placement/transform system quite hard
to understand and use.
A couple of things;
Calling set_tile_center is not needed anymore, right? How do I handle situations where get_tile_center is called?
Erik
_______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
