Пример #1
0
Файл: al.go Проект: nzlov/goal
func DistanceModel(distanceModel ALenum) {
	C.alDistanceModel(C.ALenum(distanceModel))
}
Пример #2
0
// SetDistanceModel() changes the current distance model.
// Pass "None" to disable distance attenuation.
// Renamed, was DistanceModel.
func SetDistanceModel(model int32) {
	C.alDistanceModel(C.ALenum(model))
}
Пример #3
0
func alDistanceModel(v int32) {
	C.alDistanceModel(C.ALenum(v))
}
Пример #4
0
func SetDistanceModel(model DistanceModel) error {
	C.alDistanceModel(C.ALenum(model))
	return GetError()
}