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