Public Member Functions | |
Rectangle (Transform tfo, SceneMaterial sm, TouchInputHandler hdl) | |
Vec4F | getAABB () |
boolean | isInBounds (Vec2F coord) |
void | draw (Canvas c, Engine e, Viewport v, Vec4F bounds) |
psastras::engine::graphics::entities::Rectangle::Rectangle | ( | Transform | tfo, | |
SceneMaterial | sm, | |||
TouchInputHandler | hdl | |||
) | [inline] |
Constructs a drawable rectangle with the given bounds (in virtual space), which can be then added to a scene.
bounds |