Beispiel #1
0
//void glLoadMatrixd (const float64 *m)
func LoadMatrixd(m []float64) {
	if len(m) != 16 {
		panic(ErrorInputSize)
	}
	C.glLoadMatrixd((*C.GLdouble)(&m[0]))
}
Beispiel #2
0
//void glLoadMatrixd (const float64 *m)
func LoadMatrixd(m *[16]float64) {
	C.glLoadMatrixd((*C.GLdouble)(&m[0]))
}