Skip to main content

RectExtensions

A static class in Root.Township, Alta.Forests.

Extension methods on Rect used by forest generation.

Methods​

MemberWhat it is
static bool ContainsLine(Rect rect, Vector2 start, Vector2 end)True if the line segment from start to end touches or crosses the rect.