示例#1
0
文件: al.go 项目: nzlov/goal
func DistanceModel(distanceModel ALenum) {
	C.alDistanceModel(C.ALenum(distanceModel))
}
示例#2
0
文件: core.go 项目: jaekwon/go-openal
// 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
文件: al_pc.go 项目: tanema/amore
func alDistanceModel(v int32) {
	C.alDistanceModel(C.ALenum(v))
}
示例#4
0
文件: al.go 项目: Jragonmiris/go-al
func SetDistanceModel(model DistanceModel) error {
	C.alDistanceModel(C.ALenum(model))
	return GetError()
}