Home
last modified time | relevance | path

Searched refs:FIXED (Results 1 – 1 of 1) sorted by relevance

/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c66 #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()
[all …]