Lines Matching defs:normal_array
48 void drawStrips(float *vertex_array, float *normal_array, int *length_array, GLenum *type_array, int num_strips)
58 glNormal3fv(normal_array+k);
144 ret->normal_array = NULL;
175 ret->normal_array = NULL;
237 free(bpm->normal_array);
477 *and normal_array. the spaces of both are allocated here
496 bpm->normal_array = (float*) malloc(sizeof(float)* (bpm->index_UVarray/2) * 3);
497 assert(bpm->normal_array);
508 bezierSurfEvalNormal(u0,u1,uorder, v0, v1, vorder, dimension, ctlpoints, ustride, vstride, u,v, bpm->normal_array+l);
534 glNormal3fv(bpm->normal_array+k);
551 void bezierPatchMeshListCollect(bezierPatchMesh* list, float **vertex_array, float **normal_array, int **length_array, GLenum **type_array, int *num_strips)
558 (*normal_array) = (float *) malloc(sizeof(float) * total_num_vertices*3);
559 assert(*normal_array);
582 (*normal_array)[k] = temp->normal_array[x];
583 (*normal_array)[k+1] = temp->normal_array[x+1];
584 (*normal_array)[k+2] = temp->normal_array[x+2];