Example #1
0
File: color.go Project: Nvveen/gl
//void glColor3dv (const float64 *v)
func Color3dv(v []float64) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glColor3dv((*C.GLdouble)(&v[0]))
}
Example #2
0
//void glColor3dv (const float64 *v)
func Color3dv(v *[3]float64) {
	C.glColor3dv((*C.GLdouble)(&v[0]))
}