Home | History | Annotate | Download | only in libagl

Lines Matching refs:gglFloatToFixed

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