示例#1
0
文件: color.go 项目: Nvveen/gl
//void glColor4uiv (const uint *v)
func Color4uiv(v []uint32) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glColor4uiv((*C.GLuint)(&v[0]))
}
示例#2
0
//void glColor4uiv (const uint *v)
func Color4uiv(v *[4]uint32) {
	C.glColor4uiv((*C.GLuint)(&v[0]))
}