124 |
return ret; |
return ret; |
125 |
} |
} |
126 |
|
|
127 |
inline void addToAccum(LOD::TexAccum *acc, Verts &v, |
inline void addToAccum(Stats::TexAccum *acc, Verts &v, |
128 |
int v0, int v1, int v2) { |
int v0, int v1, int v2) { |
129 |
acc->add( |
acc->add( |
130 |
v.points[v0].final, |
v.points[v0].final, |
222 |
float diceLength, diceLength2; |
float diceLength, diceLength2; |
223 |
int diceDepth; |
int diceDepth; |
224 |
|
|
225 |
LOD::TexAccum *texAccum; |
Stats::TexAccum *texAccum; |
226 |
|
|
227 |
template<class F> void params(F &f) { |
template<class F> void params(F &f) { |
228 |
f(paper, x0, y0, x1, y1, flags, diceLength, diceLength2, diceDepth, |
f(paper, x0, y0, x1, y1, flags, diceLength, diceLength2, diceDepth, |