Exemple #1
0
func VertexAttrib1f(dst Attrib, x float32) {
	defer func() {
		errstr := errDrain()
		log.Printf("gl.VertexAttrib1f(%v, %v) %v", dst, x, errstr)
	}()
	C.glVertexAttrib1f(dst.c(), C.GLfloat(x))
}
Exemple #2
0
func VertexAttrib1f(dst Attrib, x float32) {
	C.glVertexAttrib1f(dst.c(), C.GLfloat(x))
}
Exemple #3
0
func VertexAttrib1f(
	indx uint32, x float32) {
	C.glVertexAttrib1f(
		C.GLuint(indx),
		C.GLfloat(x))
}
Exemple #4
0
func (indx AttribLocation) Attrib1f(x float32) {
	C.glVertexAttrib1f(C.GLuint(indx), C.GLfloat(x))
}
Exemple #5
0
func (a FloatAttrib) Set(x float32) {
	C.glVertexAttrib1f(a.index, C.GLfloat(x))
}
Exemple #6
0
func VertexAttrib1f(index uint, v1 float32) {
	C.glVertexAttrib1f(C.GLuint(index), C.GLfloat(v1))
}