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