Method | Description | |
---|---|---|
intersectMovingCircleBox ( Circle s, Box b, Vector2 movement, float &time ) : bool | ||
intersectMovingCircleCircle ( Circle s0, Circle s1, Vector2 movement, float &time ) : bool | ||
intersectMovingCircleCircleTwo ( Circle first, Circle second, Vector2 movement, float &time ) : bool | ||
testCircleBox ( Circle circle, Box box, Vector2 &point ) : bool |
checks to see if circle overlaps box and returns (via out param) the point of intersection
|
Method | Description | |
---|---|---|
corner ( |
support function that returns the rectangle vert with index n
|
public static intersectMovingCircleBox ( Circle s, Box b, Vector2 movement, float &time ) : bool | ||
s | Circle | |
b | Box | |
movement | Vector2 | |
time | float | |
return | bool |
public static intersectMovingCircleCircle ( Circle s0, Circle s1, Vector2 movement, float &time ) : bool | ||
s0 | Circle | |
s1 | Circle | |
movement | Vector2 | |
time | float | |
return | bool |
public static intersectMovingCircleCircleTwo ( Circle first, Circle second, Vector2 movement, float &time ) : bool | ||
first | Circle | |
second | Circle | |
movement | Vector2 | |
time | float | |
return | bool |
public static testCircleBox ( Circle circle, Box box, Vector2 &point ) : bool | ||
circle | Circle | Circle. |
box | Box | Box. |
point | Vector2 | Point. |
return | bool |