Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSamplePathText.cpp369 const double offsetAngle = (rand.nextF() * 2 - 1) * kMaxOffsetAngle; in reset() local
375 fDirsX[i] = cosf(kAverageAngle + offsetAngle); in reset()
376 fDirsY[i] = sinf(kAverageAngle + offsetAngle); in reset()
/external/skia/samplecode/
DSamplePathText.cpp369 const double offsetAngle = (rand.nextF() * 2 - 1) * kMaxOffsetAngle; in reset() local
375 fDirsX[i] = cosf(kAverageAngle + offsetAngle); in reset()
376 fDirsY[i] = sinf(kAverageAngle + offsetAngle); in reset()