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