Lines Matching refs:FIXED

66 #define FIXED(value) floatToFixed(value)  macro
290 result->normalArray[i] = FIXED(n.x); in createSuperShape()
291 result->normalArray[i + 1] = FIXED(n.y); in createSuperShape()
292 result->normalArray[i + 2] = FIXED(n.z); in createSuperShape()
309 result->vertexArray[currentVertex * 3] = FIXED(pa.x); in createSuperShape()
310 result->vertexArray[currentVertex * 3 + 1] = FIXED(pa.y); in createSuperShape()
311 result->vertexArray[currentVertex * 3 + 2] = FIXED(pa.z); in createSuperShape()
313 result->vertexArray[currentVertex * 3] = FIXED(pb.x); in createSuperShape()
314 result->vertexArray[currentVertex * 3 + 1] = FIXED(pb.y); in createSuperShape()
315 result->vertexArray[currentVertex * 3 + 2] = FIXED(pb.z); in createSuperShape()
317 result->vertexArray[currentVertex * 3] = FIXED(pd.x); in createSuperShape()
318 result->vertexArray[currentVertex * 3 + 1] = FIXED(pd.y); in createSuperShape()
319 result->vertexArray[currentVertex * 3 + 2] = FIXED(pd.z); in createSuperShape()
321 result->vertexArray[currentVertex * 3] = FIXED(pb.x); in createSuperShape()
322 result->vertexArray[currentVertex * 3 + 1] = FIXED(pb.y); in createSuperShape()
323 result->vertexArray[currentVertex * 3 + 2] = FIXED(pb.z); in createSuperShape()
325 result->vertexArray[currentVertex * 3] = FIXED(pc.x); in createSuperShape()
326 result->vertexArray[currentVertex * 3 + 1] = FIXED(pc.y); in createSuperShape()
327 result->vertexArray[currentVertex * 3 + 2] = FIXED(pc.z); in createSuperShape()
329 result->vertexArray[currentVertex * 3] = FIXED(pd.x); in createSuperShape()
330 result->vertexArray[currentVertex * 3 + 1] = FIXED(pd.y); in createSuperShape()
331 result->vertexArray[currentVertex * 3 + 2] = FIXED(pd.z); in createSuperShape()
387 FIXED(xm * scale + m); in createGroundPlane()
389 FIXED(ym * scale + m); in createGroundPlane()