Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java738 float endIntersect; in calculateIntersectionBox() local
748 endIntersect = (x2 > right) ? (right - x1) / deltaX : 1.0f; in calculateIntersectionBox()
755 endIntersect = (x2 < left) ? (left - x1) / deltaX : 1.0f; in calculateIntersectionBox()
761 if (endIntersect < intersectTimeEnd) { in calculateIntersectionBox()
762 intersectTimeEnd = endIntersect; in calculateIntersectionBox()
775 endIntersect = (y2 > top) ? (top - y1) / deltaY : 1.0f; in calculateIntersectionBox()
782 endIntersect = (y2 < bottom) ? (bottom - y1) / deltaY : 1.0f; in calculateIntersectionBox()
788 if (endIntersect < intersectTimeEnd) { in calculateIntersectionBox()
789 intersectTimeEnd = endIntersect; in calculateIntersectionBox()