Lines Matching refs:GLfixed

81     GLfixed *vertexArray;
83 GLfixed *normalArray;
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject()
126 sizeof(GLfixed)); in newGLObject()
130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject()
131 sizeof(GLfixed)); in newGLObject()
417 static const GLfixed quadVertices[] = { in drawFadeQuad()
432 const GLfixed fadeColor = minFade << 6; in drawFadeQuad()
512 glFrustumx((GLfixed)(xmin * 65536), (GLfixed)(xmax * 65536), in gluPerspective()
513 (GLfixed)(ymin * 65536), (GLfixed)(ymax * 65536), in gluPerspective()
514 (GLfixed)(zNear * 65536), (GLfixed)(zFar * 65536)); in gluPerspective()
522 glClearColorx((GLfixed)(0.1f * 65536), in prepareFrame()
523 (GLfixed)(0.2f * 65536), in prepareFrame()
524 (GLfixed)(0.3f * 65536), 0x10000); in prepareFrame()
539 static GLfixed light0Position[] = { -0x40000, 0x10000, 0x10000, 0 }; in configureLightAndMaterial()
540 static GLfixed light0Diffuse[] = { 0x10000, 0x6666, 0, 0x10000 }; in configureLightAndMaterial()
541 static GLfixed light1Position[] = { 0x10000, -0x20000, -0x10000, 0 }; in configureLightAndMaterial()
542 static GLfixed light1Diffuse[] = { 0x11eb, 0x23d7, 0x5999, 0x10000 }; in configureLightAndMaterial()
543 static GLfixed light2Position[] = { -0x10000, 0, -0x40000, 0 }; in configureLightAndMaterial()
544 static GLfixed light2Diffuse[] = { 0x11eb, 0x2b85, 0x23d7, 0x10000 }; in configureLightAndMaterial()
545 static GLfixed materialSpecular[] = { 0x10000, 0x10000, 0x10000, 0x10000 }; in configureLightAndMaterial()
567 glScalex(1 << 16, 1 << 16, (GLfixed)(zScale * 65536)); in drawModels()
574 GLfixed fixedScale; in drawModels()
578 fixedScale = (GLfixed)(buildingScale * 65536); in drawModels()
584 glRotatex((GLfixed)((randomUInt() % 360) << 16), 0, 0, 1 << 16); in drawModels()
597 GLfixed fixedOffs = (GLfixed)(offs * 65536); in drawModels()
689 GLfixed fixedM[16]; in gluLookAt()
691 fixedM[a] = (GLfixed)(m[a] * 65536); in gluLookAt()
696 glTranslatex((GLfixed)(-eyex * 65536), in gluLookAt()
697 (GLfixed)(-eyey * 65536), in gluLookAt()
698 (GLfixed)(-eyez * 65536)); in gluLookAt()