From: Song Li (lisong++at++vrac.iastate.edu)
Date: 11/10/2001 12:47:52
Hi, gurus,
I just experineced a very strange problem:
I try to create 2 geometries:
......
g = (pfGeode *)pfMalloc(sizeof(pfGeode),pfGetSharedArena());
g1 = (pfGeoSet *)pfMalloc(sizeof(pfGeoSet),pfGetSharedArena());
g2 = (pfGeoSet *)pfMalloc(sizeof(pfGeoSet),pfGetSharedArena());
//these 3 sentence in constructor
.........
g1 = pfdNewPipe(0.1,0.1,100,pfGetSharedArena());
g2 = pfdNewSphere( 100,pfGetSharedArena());
//in a function
......then set color, looks good......
g->addGSet(g1); //program crashes here
g->addGSet(g2);
.........
did I do something wrong ?????? Thanks!
-- Song Li VRAC(Virtual Reality Application Center),Iowa State University Email: lisong++at++vrac.iastate.edu Homepage: http://www.vrac.iastate.edu/~lisong
This archive was generated by hypermail 2b29 : Sat Nov 10 2001 - 12:47:00 PST