Method | Description | |
---|---|---|
ClipLine ( Vector2 &pointA, Vector2 &pointB, |
Clips the specified line. Returns false if this does not lie within the specified rectangle. Otherwise, modifies the points.
|
Method | Description | |
---|---|---|
CheckLine ( Vector2 &pointA, Vector2 &pointB, |
Checks the line.
|
public static ClipLine ( Vector2 &pointA, Vector2 &pointB, |
||
pointA | Vector2 | The point A. |
pointB | Vector2 | The point B. |
clippingRectangle | ||
return | bool |