Example #1
0
func LineWidth(width float32) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.LineWidth(%v) %v", width, errstr)
	}()
	C.glLineWidth(C.GLfloat(width))
}
Example #2
0
func LineWidth(width float32) {
	C.glLineWidth(C.GLfloat(width))
}
Example #3
0
File: gl.go Project: eaburns/gl
// LineWidth specifies the width of rasterized lines.
func LineWidth(w float32) {
	C.glLineWidth(C.GLfloat(w))
}