Lines Matching refs:gglFloatToFixed
79 c->lighting.front.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
83 c->lighting.front.diffuse.b = gglFloatToFixed(0.8f); in ogles_init_light()
90 c->lighting.lightModel.ambient.b = gglFloatToFixed(0.2f); in ogles_init_light()
126 return clampF(gglFloatToFixed(fastexpf(-e))); in fog_exp()
131 return clampF(gglFloatToFixed(fastexpf(-e*e))); in fog_exp2()
486 gglFloatToFixed(cosinef((M_PI/(180.0f*65536.0f))*param)); in lightx()
646 lightModelx(pname, gglFloatToFixed(param), c); in glLightModelf()
659 lightModelx(pname, gglFloatToFixed(params[0]), c); in glLightModelfv()
668 c->lighting.lightModel.ambient.r = gglFloatToFixed(params[0]); in glLightModelfv()
669 c->lighting.lightModel.ambient.g = gglFloatToFixed(params[1]); in glLightModelfv()
670 c->lighting.lightModel.ambient.b = gglFloatToFixed(params[2]); in glLightModelfv()
671 c->lighting.lightModel.ambient.a = gglFloatToFixed(params[3]); in glLightModelfv()
703 lightx(i, pname, gglFloatToFixed(param), c); in glLightf()
721 lightx(i, pname, gglFloatToFixed(params[0]), c); in glLightfv()
726 paramsx[0] = gglFloatToFixed(params[0]); in glLightfv()
727 paramsx[1] = gglFloatToFixed(params[1]); in glLightfv()
728 paramsx[2] = gglFloatToFixed(params[2]); in glLightfv()
730 paramsx[3] = gglFloatToFixed(params[3]); in glLightfv()
749 materialx(face, pname, gglFloatToFixed(param), c); in glMaterialf()
778 c->lighting.front.shininess = gglFloatToFixed(params[0]); in glMaterialfv()
785 what[0] = gglFloatToFixed(params[0]); in glMaterialfv()
786 what[1] = gglFloatToFixed(params[1]); in glMaterialfv()
787 what[2] = gglFloatToFixed(params[2]); in glMaterialfv()
788 what[3] = gglFloatToFixed(params[3]); in glMaterialfv()
818 c->lighting.front.shininess = gglFloatToFixed(params[0]); in glMaterialxv()
848 paramx = gglFloatToFixed(param); in glFogf()
863 paramx = gglFloatToFixed(params[0]); in glFogfv()
868 paramsx[0] = gglFloatToFixed(params[0]); in glFogfv()
869 paramsx[1] = gglFloatToFixed(params[1]); in glFogfv()
870 paramsx[2] = gglFloatToFixed(params[2]); in glFogfv()
871 paramsx[3] = gglFloatToFixed(params[3]); in glFogfv()