Searched refs:BASESIZE (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dray.c31 #define BASESIZE 7.5f macro
348 x = (int) ((ppos[0] + BASESIZE / 2) * (10.0f / BASESIZE));
352 y = (int) ((ppos[1] + BASESIZE / 2) * (10.0f / BASESIZE));
416 ppos[1] = (y / (float) TEX_CHECK_HEIGHT) * BASESIZE - BASESIZE / 2;
419 ppos[0] = (x / (float) TEX_CHECK_WIDTH) * BASESIZE - BASESIZE / 2;
533 glVertex3f(-BASESIZE / 2.
[all...]
H A Dteapot.c33 #define BASESIZE 10.0 macro
295 dx=BASESIZE/BASERES;
296 dy=-BASESIZE/BASERES;
297 for(y=BASESIZE/2.0,j=0;j<BASERES;y+=dy,j++) {
301 for(x=-BASESIZE/2.0,i=0;i<BASERES;x+=dx,i++) {

Completed in 3 milliseconds