Searched refs:mDistance (Results 1 – 4 of 4) sorted by relevance
/external/replicaisland/src/com/replica/replicaisland/ |
D | PopOutComponent.java | 34 private Vector2 mDistance; field in PopOutComponent 45 mDistance = new Vector2(); in PopOutComponent() 68 mDistance.set(player.getPosition()); in update() 69 mDistance.subtract(parentObject.getPosition()); in update() 77 if (mDistance.length2() < (mAppearDistance * mAppearDistance)) { in update() 84 if (mDistance.length2() > (mHideDistance * mHideDistance)) { in update() 86 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance) in update()
|
D | AttackAtDistanceComponent.java | 27 private Vector2 mDistance; field in AttackAtDistanceComponent 32 mDistance = new Vector2(); in AttackAtDistanceComponent() 52 mDistance.set(player.getPosition()); in update() 53 mDistance.subtract(parentObject.getPosition()); in update() 66 } else if (mDistance.length2() < (mAttackDistance * mAttackDistance) in update()
|
/external/skqp/tests/ |
D | PathOpsAngleIdeas.cpp | 755 static double mDistance(skiatest::Reporter* reporter, bool agrees, const SkDQuad& q1, in mDistance() function 836 maxR = SkTMin(maxR, mDistance(reporter, agrees, quad1, quad2)); in DEF_TEST() 852 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST() 869 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST()
|
/external/skia/tests/ |
D | PathOpsAngleIdeas.cpp | 755 static double mDistance(skiatest::Reporter* reporter, bool agrees, const SkDQuad& q1, in mDistance() function 836 maxR = SkTMin(maxR, mDistance(reporter, agrees, quad1, quad2)); in DEF_TEST() 852 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST() 869 maxR = SkTMin(maxR, mDistance(reporter, agrees, q1, q2)); in DEF_TEST()
|