HomeSort by relevance Sort by last modified time
    Searched refs:Particle (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/angle/samples/angle/particle_system/
ParticleSystem.cpp 96 // Fill in particle data array
175 glVertexAttribPointer(mLifetimeLoc, 1, GL_FLOAT, GL_FALSE, sizeof(Particle), &mParticles[0].lifetime);
176 glVertexAttribPointer(mEndPositionLoc, 3, GL_FLOAT, GL_FALSE, sizeof(Particle), &mParticles[0].endPosition);
177 glVertexAttribPointer(mStartPositionLoc, 3, GL_FLOAT, GL_FALSE, sizeof(Particle), &mParticles[0].startPosition);
215 // Particle vertex data
216 struct Particle
223 std::array<Particle, mParticleCount> mParticles;
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 41 * a very simple particle system comprised of a few iron balls freely moving on
141 * Each of our particle holds its previous and current position, its
142 * acceleration. for added realism each particle has its own friction
145 class Particle {
154 Particle() {
155 // make each particle a bit different by randomizing its
201 * constrained particle in such way that the constraint is
223 * A particle system is just a collection of particles
227 private Particle mBalls[] = new Particle[NUM_PARTICLES]
    [all...]

Completed in 346 milliseconds