Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

Rect

Source

function static rect.contains(vec2 r) returns boolean

Source

function static rect.copy() returns rect

Source

function static rect.getCenter() returns vec2

Source

function static rect.getCenterX() returns real

Source

function static rect.getCenterY() returns real

Source

function static rect.getLeftBot() returns vec2

Source

function static rect.getLeftTop() returns vec2

Source

function static rect.getMaxX() returns real

Source

function static rect.getMaxY() returns real

Source

function static rect.getMinX() returns real

Source

function static rect.getMinY() returns real

Source

function static rect.getRightBot() returns vec2

Source

function static rect.getRightTop() returns vec2

Source

function static rect.height() returns real

Source

function vec2.isInRect(rect r) returns boolean

Source

function static rect.moveTo(vec2 newCenter)

Source

function static rect.moveTo(real newCenterX, real newCenterY)

Source

function static rect.randomPoint() returns vec2

Source

function static rect.remove()

Source

function static rect.resize(vec2 min, vec2 max)

Source

function static rect.width() returns real

Source