Home
last modified time | relevance | path

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

/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp131 memset(mAngles, 0, sizeof(mAngles)); in Renderer()
143 mAngles[i] = drand48() * TWO_PI; in resize()
202 mAngles[i] += mAngularVelocity[i] * dt; in step()
203 if (mAngles[i] >= TWO_PI) { in step()
204 mAngles[i] -= TWO_PI; in step()
205 } else if (mAngles[i] <= -TWO_PI) { in step()
206 mAngles[i] += TWO_PI; in step()
212 float s = sinf(mAngles[i]); in step()
213 float c = cosf(mAngles[i]); in step()
Dgles3jni.h102 float mAngles[MAX_INSTANCES]; variable