Exemplo n.º 1
0
Arquivo: color.go Projeto: Nvveen/gl
//void glColor3usv (const uint16 *v)
func Color3usv(v []uint16) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glColor3usv((*C.GLushort)(&v[0]))
}
Exemplo n.º 2
0
//void glColor3usv (const uint16 *v)
func Color3usv(v *[3]uint16) {
	C.glColor3usv((*C.GLushort)(&v[0]))
}