Exemplo n.º 1
0
static VALUE
rb_cpShapeGetSurfaceV(VALUE self)
{
	return VWRAP(self, &SHAPE(self)->surface_v);
}
Exemplo n.º 2
0
static VALUE
rb_cpBodyGetForce(VALUE self) {
  return VWRAP(self, &BODY(self)->f);
}
Exemplo n.º 3
0
static VALUE
rb_cpBodyGetPos(VALUE self) {
  return VWRAP(self, &BODY(self)->p);
}
Exemplo n.º 4
0
static VALUE
rb_cpBodyGetVel(VALUE self) {
  return VWRAP(self, &BODY(self)->v);
}
Exemplo n.º 5
0
static VALUE
rb_cpBodyGetRot(VALUE self) {
  return VWRAP(self, &BODY(self)->rot);
}