Isomorphisms between linear and OpenGL types