Simon Mills (simon++at++wgs.estec.esa.nl)
Mon, 26 Oct 1998 18:28:31 +0100
I'm trying to use fluxed pfGeoSets for some dynamic geometry. I want the
number of primitives to vary which is why AFAIK complete pfGeoSets can
be pfFlux'ed as opposed to just the attribute arrays.
My question is when I create a pfFlux'ed geoset with
pfFlux *fluxed_geo = pfNewFluxInitFunc(initFunc,
PFFLUX_DEFAULT_NUM_BUFFERS, arena);
how can I get any arguments to my initFunc?
The manual says the callback is of type:
typedef int (*pfFluxInitFuncType)(pfFluxMemory *_fmem);
Compare this to function pfFluxCallDataFunc() to manipulate the data
which *does* allow user data to be passed to the callback function. I
would expect something like this.
All the examples just create geosets with fixed numbers of vertices etc.
so they can't help.
Any suggestions?
Regards, Simon
________________________________________________________________________
Simon C. Mills
Modelling & Simulation Section (TOS-EMM) Tel: +31 (0)71 565 3725
European Space Agency (ESA/ESTEC) Fax: +31 (0)71 565 5419
Postbus 299, 2200AG Noordwijk e-mail: simon++at++wgs.estec.esa.nl
The Netherlands http://www.estec.esa.nl/wmwww/EMM
________________________________________________________________________
This archive was generated by hypermail 2.0b2 on Mon Oct 26 1998 - 09:28:39 PST