Example #1
0
File: gl.go Project: james4k/gl
//void glNormal3sv (const int16 *v)
func Normal3sv(v *[3]int16) {
	C.glNormal3sv((*C.GLshort)(&v[0]))
}
Example #2
0
File: gl.go Project: Nvveen/gl
//void glNormal3sv (const int16 *v)
func Normal3sv(v []int16) {
	if len(v) != 3 {
		panic(ErrorInputSize)
	}
	C.glNormal3sv((*C.GLshort)(&v[0]))
}