示例#1
0
文件: gl.go 项目: james4k/gl
//void glRasterPos4sv (const int16 *v)
func RasterPos4sv(v *[4]int16) {
	C.glRasterPos4sv((*C.GLshort)(&v[0]))
}
示例#2
0
文件: gl.go 项目: Nvveen/gl
//void glRasterPos4sv (const int16 *v)
func RasterPos4sv(v []int16) {
	if len(v) != 4 {
		panic(ErrorInputSize)
	}
	C.glRasterPos4sv((*C.GLshort)(&v[0]))
}