STATIC SUB LoadMatrixf ( Matrix AS Float[] )
Gl.LoadMatrix replaces the current matrix with the one specified in Matrix. The current matrix is the projection matrix, modelview matrix, or texture matrix, determined by the current matrix mode.
Matrix points to a 4x4 matrix of floating-point values stored in column-major order. That is, the matrix is stored as follows:
DIM Matrix as Float[] ..... ' Equivalent call to Gl.LoadIdentity() Matrix = [1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0] Gl.LoadMatrixf(Matrix)
Gl.GL_INVALID_OPERATION is generated if Gl.LoadMatrix is called between a call to Gl.Begin and the corresponding call to Gl.End.
Gl.GetMatrixMode
Gl.GetModelviewMatrix
Gl.GetProjectionMatrix
Gl.GetTextureMatrix