Home
last modified time | relevance | path

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

/cts/tests/openglperf2/jni/reference/scene/flocking/
DBoid.cpp70 Vector2D desired = cohesion.copy(); in flock() local
71 desired.sub(mPosition); in flock()
72 float d = desired.magnitude(); in flock()
74 desired.normalize(); in flock()
75 desired.scale(MAX_SPEED * ((d < 100.0f) ? d / 100.0f : 1)); in flock()
76 desired.sub(mVelocity); in flock()
77 desired.limit(MAX_FORCE); in flock()
78 mAcceleration.add(desired); in flock()
/cts/hostsidetests/theme/
DREADME120 Once the device is in the desired state, do the following: