← Back to team overview

yade-dev team mailing list archive

Re: periodic weighted voronoi tesselation library (c++, open-source)

 

> > reason (experimental, might change without notice etc).
> Heh, that's why I asked. :)
Oh, sorry, I overlooked the postscriptum. Never mind. There is no proper
solution currently, if you want to use multiple scene objects....

You should make the default shared_ptr<Scene>(), then test it, and if it
is NULL pointer, assign current scene. That is the way it works in many
Shop functions, e.g. yours Shop::getSpheresVolume().

v







References