Exemple #1
0
Fichier : al.go Projet : nzlov/goal
func DistanceModel(distanceModel ALenum) {
	C.alDistanceModel(C.ALenum(distanceModel))
}
Exemple #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))
}
Exemple #3
0
func alDistanceModel(v int32) {
	C.alDistanceModel(C.ALenum(v))
}
Exemple #4
0
func SetDistanceModel(model DistanceModel) error {
	C.alDistanceModel(C.ALenum(model))
	return GetError()
}