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