Home
last modified time | relevance | path

Searched refs:distance2 (Results 1 – 9 of 9) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DGameObjectManager.java89 final float distance2 = mCameraFocus.distance2(gameObject.getPosition()); in update() local
90 if (distance2 < (gameObject.activationRadius * gameObject.activationRadius) in update()
117 final float distance2 = mCameraFocus.distance2(position); in update() local
119 if (distance2 < (gameObject.activationRadius * gameObject.activationRadius) in update()
DSphereCollisionVolume.java119 final float distance2 = mWorkspaceVector.length2(); in intersects() local
121 if (distance2 < maxDistance2) { in intersects()
DSelectDialogComponent.java44 if (mLastPosition.distance2(parentObject.getPosition()) > 0.0f) { in update()
DHitPlayerComponent.java55 if (mMyPosition.distance2(mPlayerPosition) <= mDistance2) { in update()
DVector2.java94 public final float distance2(Vector2 other) { in distance2() method in Vector2
DBackgroundCollisionComponent.java411 final float obj1Distance = object1.hitPoint.distance2(mOrigin); in compare()
412 final float obj2Distance = object2.hitPoint.distance2(mOrigin); in compare()
DCollisionSystem.java131 final float firstCollisionDistance = startPoint.distance2(hitPoint); in castRay()
132 if (firstCollisionDistance > startPoint.distance2(tempHitPoint)) { in castRay()
453 final float distance = hitPoint.distance2(startPoint); in testSegmentAgainstList()
DPatrolComponent.java227 if (mWorkingVector2.distance2(mWorkingVector) < in updateAttack()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatQuad.cpp195 float distance2 = c * c / (a * a + b * b); in lineIntersectsCircle() local
198 if (distance2 > radius2) in lineIntersectsCircle()