hgeRect::Set

Sets the bounding box to the specified screen coordinates.

void Set(
  float x1,
  float y1,
  float x2,
  float y2
);

Parameters

x1
The top-left corner X-coordinate.
y1
The top-left corner Y-coordinate.
x2
The bottom-right corner X-coordinate.
y2
The bottom-right corner Y-coordinate.

Requirements

Header: hgerect.h

See also

SetRadius