[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Range2d templated class
From: |
strk |
Subject: |
Re: [Gnash-dev] Range2d templated class |
Date: |
Fri, 1 Dec 2006 16:43:40 +0100 |
Finally committed as libgeometry/Range2d.h.
Note that the new class is in gnash::geometry
namespace.
Next step would be using it from at least gnash::rect,
and for sure in set_invalidated_bounds/compute_bounds and
friends.
--strk;
On Fri, Dec 01, 2006 at 11:56:59AM +0100, strk wrote:
> I've implemented a Range2d templated class
> to be used when boundaries are needed.
> This is like the current gnash::rect class,
> which will likely end using Range2d internally,
> but templetized on the numeric type used and with
> more functionalities (includes the concept of
> a 'world' range).
>
> Now, the question is: where should I put it ?
>
> server/Range2d.h
> libbase/Range2d.h
> libgeometry/Range2d.h
>
> Theoretically, the best place would be libgeometry, but
> I'm not sure we're actually using it and I wouldn't want
> to have it in our street in case we drop that lib.
>
> What do you think ?