Gene Koh (gene++at++euphoria.corp.sgi.com)
Sun, 5 May 1996 15:55:50 -0700
What is the difference between
pfVec3 *coords = (pfVec3 *) new(4*sizeof(pfVec3)) pfMemory;
and
pfVec3 *coords = (pfVec3 *) pfMemory::malloc(4*sizeof(pfVec3), arena);
For some reason, when I allocate the first way, I don't see my object. But the
second way works fine. They seem equivalent, and the Performer C++ examples
which use the first way also seem to work.
I've played around with it, but am stumped. Any help would be greatly
appreciated. Thanks!
-- 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