Searched refs:GLM_FLAT (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/objviewer/
H A Dglmdraw.c25 * GLM_FLAT - render with facet normals
31 * GLM_FLAT and GLM_SMOOTH should not both be specified.
43 if (mode & GLM_FLAT && !model->facetnorms) {
46 mode &= ~GLM_FLAT;
58 if (mode & GLM_FLAT && mode & GLM_SMOOTH) {
61 mode &= ~GLM_FLAT;
105 if (mode & GLM_FLAT)
354 * GLM_FLAT - render with facet normals
360 * GLM_FLAT and GLM_SMOOTH should not both be specified.
H A Dglm.h23 #define GLM_FLAT (1 << 0) /* render with facet normals */ macro
221 * GLM_FLAT - write facet normals
224 * GLM_FLAT and GLM_SMOOTH should not both be specified.
235 * GLM_FLAT - render with facet normals
238 * GLM_FLAT and GLM_SMOOTH should not both be specified.
249 * GLM_FLAT - render with facet normals
252 * GLM_FLAT and GLM_SMOOTH should not both be specified.
H A Dglm.c1482 * GLM_FLAT - render with facet normals
1488 * GLM_FLAT and GLM_SMOOTH should not both be specified.
1500 if (mode & GLM_FLAT && !model->facetnorms) {
1503 mode &= ~GLM_FLAT;
1515 if (mode & GLM_FLAT && mode & GLM_SMOOTH) {
1518 mode &= ~GLM_FLAT;
1563 } else if (mode & GLM_FLAT) {
1607 } else if (mode & GLM_FLAT && mode & GLM_TEXTURE) {
1631 } else if (mode & GLM_FLAT) {

Completed in 5 milliseconds