示例#1
0
文件: vertex.go 项目: Nvveen/gl
//void glVertex4dv (const float64 *v)
func Vertex4dv(v []float64) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glVertex4dv((*C.GLdouble)(&v[0]))
}
示例#2
0
文件: vertex.go 项目: jasonrpowers/gl
//void glVertex4dv (const float64 *v)
func Vertex4dv(v *[4]float64) {
	C.glVertex4dv((*C.GLdouble)(&v[0]))
}