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