Esempio n. 1
0
// Renamed, was Listener3f.
func (self Listener) Set3f(param int32, value1, value2, value3 float32) {
	C.alListener3f(C.ALenum(param), C.ALfloat(value1), C.ALfloat(value2), C.ALfloat(value3))
}
Esempio n. 2
0
func SetListenPosition(x, y, z float32) {
	C.alListener3f(C.AL_POSITION, C.ALfloat(x), C.ALfloat(y), C.ALfloat(z))
}
Esempio n. 3
0
func SetListenerPosition3f(x, y, z float32) error {
	C.alListener3f(C.AL_POSITION, (C.ALfloat)((C.float)(x)), (C.ALfloat)((C.float)(y)), (C.ALfloat)((C.float)(z)))
	return GetError()
}
Esempio n. 4
0
func SetListenerVelocity3f(x, y, z float32) error {
	C.alListener3f(C.AL_VELOCITY, (C.ALfloat)((C.float)(x)), (C.ALfloat)((C.float)(y)), (C.ALfloat)((C.float)(z)))
	return GetError()
}
Esempio n. 5
0
func Listener3f(param ALenum, value1, value2, value3 float32) {
	C.alListener3f(C.ALenum(param), C.ALfloat(value1), C.ALfloat(value2), C.ALfloat(value3))
}