Beispiel #1
0
//SetGamma generates a 256-element gamma ramp from the specified exponent and then calls
//SetGamma with it.
func (m *Monitor) SetGamma(gamma float32) {
	C.glfwSetGamma(m.data, C.float(gamma))
}
Beispiel #2
0
Datei: glfw.go Projekt: maun/glfw
// Gamma ramp functions
func SetGamma(gamma float32) { C.glfwSetGamma(C.float(gamma)) }