getVertices method

void getVertices(
  1. List<Vector2> argRay
)

Implementation

void getVertices(List<Vector2> argRay) {
  argRay[0].setFrom(lowerBound);
  argRay[1].setFrom(lowerBound);
  argRay[1].x += upperBound.x - lowerBound.x;
  argRay[2].setFrom(upperBound);
  argRay[3].setFrom(upperBound);
  argRay[3].x -= upperBound.x - lowerBound.x;
}