• Home
  • Raw
  • Download

Lines Matching refs:fParticles

76         fParticles[i].fAge += fParticles[i].fInvLifetime * deltaTime;  in update()
77 if (fParticles[i].fAge > 1.0f) { in update()
79 fParticles[i] = fParticles[fCount - 1]; in update()
97 fParticles[fCount].fAge = 0.0f; in update()
98 fParticles[fCount].fPose.fPosition = { 0.0f, 0.0f }; in update()
99 fParticles[fCount].fPose.fHeading = { 0.0f, -1.0f }; in update()
100 fParticles[fCount].fPose.fScale = 1.0f; in update()
101 fParticles[fCount].fVelocity.fLinear = { 0.0f, 0.0f }; in update()
102 fParticles[fCount].fVelocity.fAngular = 0.0f; in update()
103 fParticles[fCount].fColor = { 1.0f, 1.0f, 1.0f, 1.0f }; in update()
104 fParticles[fCount].fFrame = 0.0f; in update()
105 fParticles[fCount].fRandom = fRandom; in update()
112 affector->apply(updateParams, fParticles + spawnBase, numToSpawn); in update()
119 fParticles[i].fInvLifetime = in update()
120 sk_ieee_float_divide(1.0f, fParams->fLifetime.eval(updateParams, fParticles[i])); in update()
121 fStableRandoms[i] = fParticles[i].fRandom; in update()
127 fParticles[i].fRandom = fStableRandoms[i]; in update()
136 affector->apply(updateParams, fParticles, fCount); in update()
142 fParticles[i].fPose.fPosition += fParticles[i].fVelocity.fLinear * deltaTime; in update()
144 SkScalar c, s = SkScalarSinCos(fParticles[i].fVelocity.fAngular * deltaTime, &c); in update()
145 SkVector oldHeading = fParticles[i].fPose.fHeading; in update()
146 fParticles[i].fPose.fHeading = { oldHeading.fX * c - oldHeading.fY * s, in update()
160 fParams->fDrawable->draw(canvas, fParticles.get(), fCount, &paint); in draw()
165 fParticles.realloc(capacity); in setCapacity()