HomeSort by: relevance | last modified time | path
    Searched refs:normals (Results 1 - 10 of 10) sorted by relevancy

  /xsrc/external/mit/glu/dist/src/libutil/
quad.c 46 GLint normals; member in struct:GLUquadric
63 newstate->normals = GLU_SMOOTH;
99 gluQuadricNormals(GLUquadric *qobj, GLenum normals)
101 switch (normals) {
110 qobj->normals = normals;
187 /* Cache2 is the various normals at the vertices themselves */
188 /* Cache3 is the various normals for the faces */
190 if (qobj->normals == GLU_SMOOTH) {
194 if (qobj->normals == GLU_FLAT)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/objviewer/
glm.c 484 * statistics of the model (such as #vertices, #normals, etc)
493 uint numnormals; /* number of normals in model */
607 printf(" Normals: %d\n", numnormals);
638 uint numnormals; /* number of normals in model */
642 float* normals; /* array of normals */ local
651 normals = model->normals;
677 &normals[3 * numnormals + X],
678 &normals[3 * numnormals + Y],
1064 float* normals; local
    [all...]
glmdraw.c 25 * GLM_FLAT - render with facet normals
26 * GLM_SMOOTH - render with vertex normals
45 "with no facet normals defined.\n");
48 if (mode & GLM_SMOOTH && !model->normals) {
50 "with no normals defined.\n");
109 glNormal3fv(&model->normals[3 * T(group->triangles[i]).nindices[0]]);
121 glNormal3fv(&model->normals[3 * T(group->triangles[i]).nindices[1]]);
133 glNormal3fv(&model->normals[3 * T(group->triangles[i]).nindices[2]]);
193 buffer[i * vertexFloats + j++] = model->normals[i * 3 + 0];
194 buffer[i * vertexFloats + j++] = model->normals[i * 3 + 1]
    [all...]
glm.h 23 #define GLM_FLAT (1 << 0) /* render with facet normals */
24 #define GLM_SMOOTH (1 << 1) /* render with vertex normals */
80 uint numnormals; /* number of normals in model */
81 float* normals; /* array of normals */ member in struct:__anon6429
140 * the direction of the normals.
147 /* glmFacetNormals: Generates facet normals for a model (by taking the
156 /* glmVertexNormals: Generates smooth vertex normals for a model.
159 * normals of the triangles each vertex is in. Finally, sets the
221 * GLM_FLAT - write facet normals
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/demos/
engine.c 421 GLfloat points[36][2], normals[36][2]; local
424 /* compute vertex locations, normals */
429 normals[i][0] = x;
430 normals[i][1] = y;
463 glNormal3f(normals[j][0], normals[j][1], 0);
  /xsrc/external/mit/xedit/dist/lisp/
private.h 134 * '.' normals has a list of normal arguments
141 LispNormalArgs normals; member in struct:_LispArgList
write.c 545 for (i = 0; i < alist->normals.num_symbols; i++) {
546 WRITE_ATOM(alist->normals.symbols[i]);
547 if (i + 1 < alist->normals.num_symbols)
bytecode.c 429 alist->normals.num_symbols + alist->optionals.num_symbols;
626 alist->normals.num_symbols,
627 alist->normals.num_symbols != 1 ? "s" : "");
629 for (i = 0; i < alist->normals.num_symbols; i++) {
632 LispWriteStr(NIL, ATOMID(alist->normals.symbols[i])->value,
633 ATOMID(alist->normals.symbols[i])->length);
759 for (i = 0; i < alist->normals.num_symbols; i++, j++) {
762 id = alist->normals.symbols[i]->data.atom->key;
lisp.c 1728 if (alist->normals.num_symbols)
1729 LispMused(alist->normals.symbols);
1751 if (alist->normals.num_symbols)
1752 LispFree(alist->normals.symbols);
2123 count = alist->normals.num_symbols;
2124 REALLOC_OBJECTS(alist->normals.symbols, count + 1);
2125 alist->normals.symbols[count] = spec;
2126 ++alist->normals.num_symbols;
4093 count = alist->normals.num_symbols;
4111 symbols = alist->normals.symbols
    [all...]
compile.c 1433 symbols = alist->normals.symbols;
1434 count = alist->normals.num_symbols;

Completed in 19 milliseconds