void glNormal3f(GLfloat x, GLfloat y, GLfloat z) { if (state.list.active) { rlNormal3f(state.list.active, x, y, z); } #ifndef USE_ES2 else { LOAD_GLES(glNormal3f); gles_glNormal3f(x, y, z); } #endif }
void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { block_t *block = state.block.active; if (block) { bl_track_normal(block); } GLfloat *normal = CURRENT->normal; normal[0] = nx; normal[1] = ny; normal[2] = nz; if (! block) { PUSH_IF_COMPILING(glNormal3f); LOAD_GLES(glNormal3f); gles_glNormal3f(nx, ny, nz); } }