gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Asko 2002-10-29 (CullingCoordSys)


From: Asko Soukka
Subject: Re: [Gzz] Asko 2002-10-29 (CullingCoordSys)
Date: Wed, 30 Oct 2002 10:03:57 +0200 (EET)

Tue, 29 Oct 2002, Tuomas Lukka kirjoitti:
> >   * made finally only one coordsys which can be created both with the
> >     distinct test coordsys or without: GLVobCoorder.cull(parent, clip) or
> >     GLVobCoorder.cull(parent, test, clip)
> How?

GLVobCoorder.java:
    public int cull(int parent, int clip) {
        return cull(parent, parent, clip);
    }

    public int cull(int parent, int test, int clip);

So, actually there is only CullingCoordSys with three parents, but when
called only with two of them, it uses the "parent" also as "test".
AFAIK in this case (called with only two parents)
CoordSys::CullingCoordSys' super and testSuper will both be pointing
to the same CoordSys and no resources are wasted (no third parent CoordSys
is created)...

-- 
Asko Soukka     | Taitoniekantie 9 A 603 | address@hidden
+358-40-8235947 | FIN-40740 JYVÄSKYLÄ    | http://www.iki.fi/asko.soukka/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]