Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/samples/gles2_book/ParticleSystem/
DParticleSystem.c43 float particleData[ NUM_PARTICLES * PARTICLE_SIZE ]; member
145 float *particleData = &userData->particleData[i * PARTICLE_SIZE]; in Init() local
148 (*particleData++) = ( (float)(rand() % 10000) / 10000.0f ); in Init()
151 (*particleData++) = ( (float)(rand() % 10000) / 5000.0f ) - 1.0f; in Init()
152 (*particleData++) = ( (float)(rand() % 10000) / 5000.0f ) - 1.0f; in Init()
153 (*particleData++) = ( (float)(rand() % 10000) / 5000.0f ) - 1.0f; in Init()
156 (*particleData++) = ( (float)(rand() % 10000) / 40000.0f ) - 0.125f; in Init()
157 (*particleData++) = ( (float)(rand() % 10000) / 40000.0f ) - 0.125f; in Init()
158 (*particleData++) = ( (float)(rand() % 10000) / 40000.0f ) - 0.125f; in Init()
229 userData->particleData ); in Draw()
[all …]