Example #1
0
File: matrix.go Project: Nvveen/gl
//void glLoadMatrixd (const float64 *m)
func LoadMatrixd(m []float64) {
	if len(m) != 16 {
		panic(ErrorInputSize)
	}
	C.glLoadMatrixd((*C.GLdouble)(&m[0]))
}
Example #2
0
//void glLoadMatrixd (const float64 *m)
func LoadMatrixd(m *[16]float64) {
	C.glLoadMatrixd((*C.GLdouble)(&m[0]))
}