Exemplo n.º 1
0
 float top() const noexcept { return y() - shape.getRadius(); }
Exemplo n.º 2
0
 float bottom() const noexcept { return y() + shape.getRadius(); }
Exemplo n.º 3
0
 float left() const noexcept { return x() - shape.getRadius(); }
Exemplo n.º 4
0
 float right() const noexcept { return x() + shape.getRadius(); }
Exemplo n.º 5
0
 float bottom() { return y() + shape.getRadius(); }
Exemplo n.º 6
0
 float top() { return y() - shape.getRadius(); }
Exemplo n.º 7
0
 float right() { return x() + shape.getRadius(); }
Exemplo n.º 8
0
 float left() { return x() - shape.getRadius(); }
Exemplo n.º 9
0
int w_CircleShape_getRadius(lua_State *L)
{
	CircleShape *c = luax_checkcircleshape(L, 1);
	lua_pushnumber(L, c->getRadius());
	return 1;
}