Exemplo n.º 1
0
func (b *Body) SetPosition(pos Vect) {
	C.cpBodySetPos(b.CPBody, pos.CPVect)
}
Exemplo n.º 2
0
// SetPosition sets the position of the body.
func (b Body) SetPosition(v Vect) {
	C.cpBodySetPos(b.c(), v.c())
}
Exemplo n.º 3
0
// SetPosition sets the position of the body.
func (b Body) SetPosition(pos Vect) {
	C.cpBodySetPos(b.c(), pos.c())
}
Exemplo n.º 4
0
func (b *Body) SetPos(p Vect) {
	C.cpBodySetPos(b.body, C.cpVect(p))
}