Searched refs:particleData (Results 1 – 1 of 1) sorted by relevance
43 float particleData[ NUM_PARTICLES * PARTICLE_SIZE ]; member145 float *particleData = &userData->particleData[i * PARTICLE_SIZE]; in Init() local148 (*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 …]