Beispiel #1
0
Datei: gl.go Projekt: extrame/gl
// DepthRange calls glDepthRange
func DepthRange(zNear, zFar float64) {
	C.glDepthRange(C.GLclampd(zNear), C.GLclampd(zFar))
}
Beispiel #2
0
Datei: gl.go Projekt: james4k/gl
//void glDepthRange (GLclampd zNear, GLclampd zFar)
func DepthRange(zNear GLclampd, zFar GLclampd) {
	C.glDepthRange(C.GLclampd(zNear), C.GLclampd(zFar))
}