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