Gene Koh (gene++at++euphoria.corp.sgi.com)
Mon, 6 May 1996 08:23:55 -0700
Hi Michael,
I had tried both
pfVec3 *coords = (pfVec3 *) new(4*sizeof(pfVec3)) pfMemory;
and
pfVec3 *coords = (pfVec3 *) new(4*sizeof(pfVec3), arena) pfMemory;
The funny thing is, they gave me the same address (0x18087590, which is in the
arena), so I just assumed that allocating from the arena was the default.
Neither of them worked for me.
Also, I tested this out by changing the multiprocess model in the Performer
example layer.C. That example allocates its geoset data in the first way.
Even when multiprocessing, the example seems to work fine.
Any other suggestions?
-- gene koh gene++at++corp.sgi.com 415.933.4230simplicity patience compassion
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:52 PDT