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