51#define DEF_PATCH_STEPSIZE .4
52#define fsizeof(x) (sizeof(x)/sizeof(REAL))
65 if(
q->breakpoints)
delete[]
q->breakpoints;
69 delete[]
q->breakpoints;
90 for(
int k=0;
k < nc;
k++ )
111 for(
i=0;
i<dim;
i++) {
113 if( (
qspec[
i].breakpoints[
j] <= pta[
i] ) &&
114 (ptb[
i] <=
qspec[
i].breakpoints[
j+1] ) )
160 m->select( pta, ptb );
161 m->download( backend );
204 for(
m=maps;
m;
m=
m->next ) {
205 if(
m->qspec[
i].breakpoints[0] >
from[
i] )
206 from[
i] =
m->qspec[
i].breakpoints[0];
207 if(
m->qspec[
i].breakpoints[
m->qspec[
i].width] < to[
i] )
208 to[
i] =
m->qspec[
i].breakpoints[
m->qspec[
i].width];
209 maxpts +=
m->qspec[
i].
width + 1;
214 for(
m=maps;
m;
m=
m->next )
215 for(
int j=0;
j<=
m->qspec[
i].width;
j++ ) {
216 list.add(
m->qspec[
i].breakpoints[
j] );
237 q->findSampleRates(
slist, tlist );
238 if(
q->qspec[0].step_size <
rate[0] )
239 rate[0] =
q->qspec[0].step_size;
240 if(
q->qspec[1].step_size <
rate[1] )
241 rate[1] =
q->qspec[1].step_size;
259 pta[1] = tlist.
pts[
j];
260 ptb[1] = tlist.
pts[
j+1];
265 float edge_len_s =
min(
glu_abs(ptb[0]-pta[0]),1.0);
266 float edge_len_t =
min(
glu_abs(ptb[1]-pta[1]),1.0);
void curvpts(long, REAL *, long, int, REAL, REAL)
void surfpts(long, REAL *, long, long, int, int, REAL, REAL, REAL, REAL)
int xformAndCullCheck(REAL *, int, int, int, int)
void select(REAL *, REAL *)
void findRates(Flist &slist, Flist &tlist, REAL[2])
void downloadAll(REAL *, REAL *, Backend &)
void getRange(REAL *, REAL *, Flist &, Flist &)
void findSampleRates(Flist &slist, Flist &tlist)
GLint GLint GLsizei width
GLdouble GLdouble GLdouble GLdouble q
GLuint GLdouble GLdouble GLint GLint order
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
#define DEF_PATCH_STEPSIZE