Exemplo n.º 1
0
static VALUE
rb_cpBBClampVect(VALUE self, VALUE v)
{
    return VNEW(cpBBClampVect(*BBGET(self), *VGET(v)));
}
Exemplo n.º 2
0
cpVect * bmx_cpbb_clampvect(cpBB * bb, cpVect * v) {
	return bmx_cpvect_new(cpBBClampVect(*bb, *v));
}