#include "Coords.hxx" namespace Coords { /* This mustn't change without changing GLVobCoorder2 as well. */ SomeFactory* facs[] = { 0, new Factory(), new Factory(), new Factory() }; void CoordSet::setPoints( int ninds, int *inds1, float *points1, int *interpinds, int *inds2, float *points2, float fract, bool show1) { params.resize(0); params.reserve(7*ninds); cs.resize(ninds/3); root = new RootCoords(); cs[0] = root; for(int i=3; isetSuper(parentcs); c->setParams(&(params[0]) + parind); } } }