Example #1
0
File: color.go Project: Nvveen/gl
//void glColor4iv (const int *v)
func Color4iv(v []int32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4iv((*C.GLint)(&v[0]))
}
Example #2
0
//void glColor4iv (const int *v)
func Color4iv(v *[4]int32) {
	C.glColor4iv((*C.GLint)(&v[0]))
}