Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleAtlas.cpp149 const SkScalar kMaxSpeed = 5; in DrawAtlasDrawable() local
159 fRec[i].fVelocity.fX = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable()
160 fRec[i].fVelocity.fY = rand.nextSScalar1() * kMaxSpeed; in DrawAtlasDrawable()
DSample3D.cpp180 inline static constexpr SkScalar kMaxSpeed = 16; member in RotateAnimator
215 fAngleSpeed = std::min(kMaxSpeed, std::abs(fAngleSpeed)); in start()