AABB.collapsed constructor

AABB.collapsed(
  1. Vec2D point
)

Implementation

AABB.collapsed(Vec2D point)
    : left = point.x,
      top = point.y,
      right = point.x,
      bottom = point.y;