//(c): Matti J. Katila #ifndef VOB_VOBS_LINES_HXX #define VOB_VOBS_LINES_HXX #ifndef VOB_DEFINED #define VOB_DEFINED(x) #endif #include #include #include namespace Vob { namespace Vobs { //PREDBGVAR(dbg_lines); class ContinuousLine { public: enum { NTrans = 1 }; int texId; float width; int joinStyle; bool chain; float * points; int numPoints; template void params(F &f) { f(texId, width, joinStyle, chain, points, numPoints); } template void render(const T &coords1) const { std::cout << "Foobar, ContinuousLine...\n"; float realPts[numPoints * 2]; int realNum; for (int i=0,j=0; i