Пример #1
0
func SetListenerPosition(x, y, z float32) {
	C.sfListener_setPosition(C.sfVector3f{
		C.float(x),
		C.float(y),
		C.float(z),
	})
}
Пример #2
0
// \brief Set the position of the listener in the scene
// The default listener's position is (0, 0, 0).
// \param position New position of the listener
// sfListener_setPosition(sfVector3f position);
func SetPosition(pos Vector3f) {
	C.sfListener_setPosition(pos.Cref)
}