Defines | |
#define | COPY_FUNC(BITS) |
Functions | |
COPY_FUNC (0x0) static void TAG2(init_copy |
#define COPY_FUNC | ( | BITS | ) |
Value:
static void TAG2(copy, BITS)( GLvector4f *to, const GLvector4f *f ) \ { \ GLfloat (*t)[4] = (GLfloat (*)[4])to->start; \ GLfloat *from = f->start; \ GLuint stride = f->stride; \ GLuint count = to->count; \ GLuint i; \ \ if (BITS) \ STRIDE_LOOP { \ if (BITS&1) t[i][0] = from[0]; \ if (BITS&2) t[i][1] = from[1]; \ if (BITS&4) t[i][2] = from[2]; \ if (BITS&8) t[i][3] = from[3]; \ } \ }
COPY_FUNC | ( | 0x0 | ) |