Пример #1
0
Файл: gl.go Проект: james4k/gl
//void glIndexsv (const int16 *c)
func Indexsv(c *[1]int16) {
	C.glIndexsv((*C.GLshort)(&c[0]))
}
Пример #2
0
Файл: gl.go Проект: Nvveen/gl
//void glIndexsv (const int16 *c)
func Indexsv(c []int16) {
	if len(c) != 1 {
		panic(ErrorInputSize)
	}
	C.glIndexsv((*C.GLshort)(&c[0]))
}