DN=SU12001, RECIPIENTS, SIEGE, AEROSPATIALE (MICHAEL.BOCCARA++at++aeromatra.com)
Fri, 15 Oct 1999 15:10:20 +0200
gset = new(arena) pfGeoSet;
fluxverts = new pfFlux(30 * sizeof(pfVec3), PFFLUX_DEFAULT_etc...);
writeverts = (pfVec3*) fluxverts->getWritableData();
readverts = (pfVec3*) fluxverts->getCurData();
gset->setAttr(PFGS_COORD3, PFGS_PER_VERTEX, readVerts, NULL);
gset->etc...
{
writeverts[i].set(...)
...
fluxverts->writeComplete();
}
// then, the time to delete it has come:
pfDelete(gset);
// is it enough to clean up all the datas above, including fluxverts ?
// or should I apply a special treatment to fluxverts ?
Actually, if someone had a sample code with fluxed vertices, I'd be very interested. the fluxed_gset.C example just process the case of fluxed pfGeoSet structure.
Thanks!
Mike
This archive was generated by hypermail 2.0b2 on Fri Oct 15 1999 - 07:33:07 PDT