[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Asko 2002-10-29 (CullingCoordSys)
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] Asko 2002-10-29 (CullingCoordSys) |
Date: |
Wed, 30 Oct 2002 11:06:15 +0200 |
User-agent: |
Mutt/1.4i |
On Wed, Oct 30, 2002 at 10:03:57AM +0200, Asko Soukka wrote:
> 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);
Ahh, of course, implemented on Java side. Good.
> 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)...
There are exactly 8 bytes wasted: another integer on the parents list,
and a pointer in the C++ structure.
But I guess that's ok ;)
(... (deep voice) but when I was young, we'd have been glad to HAVE 8 bytes...)
;)
Tuomas
- Re: [Gzz] New PEG: containment--benja, (continued)
- Re: [Gzz] New PEG: containment--benja, Tuomas Lukka, 2002/10/30
- Experimental, was: Re: [Gzz] New PEG: containment--benja, Benja Fallenstein, 2002/10/30
- [Gzz] Vertex documentation, Matti Katila, 2002/10/29
- [Gzz] Re: Vertex documentation, Tuomas Lukka, 2002/10/29
- [Gzz] Re: Vertex documentation, Matti Katila, 2002/10/30
- [Gzz] Re: Vertex documentation, Tuomas Lukka, 2002/10/30
- [Gzz] CalendarVob [Re: Vertex documentation], Matti Katila, 2002/10/30
- [Gzz] Asko 2002-10-29 (CullingCoordSys), Asko Soukka, 2002/10/29
- Re: [Gzz] Asko 2002-10-29 (CullingCoordSys), Tuomas Lukka, 2002/10/29
- Re: [Gzz] Asko 2002-10-29 (CullingCoordSys), Asko Soukka, 2002/10/30
- Re: [Gzz] Asko 2002-10-29 (CullingCoordSys),
Tuomas Lukka <=
- [Gzz] Asko 2002-10-30 (), Asko Soukka, 2002/10/30
- Re: [Gzz] Asko 2002-10-30 (), Tuomas Lukka, 2002/10/30
- Re: [Gzz] Asko 2002-10-30 (), Benja Fallenstein, 2002/10/30