Filling a matrix in opengl
Im using 4x4 matrices and they are represented in code by arrays of 16 floats aka float array[16]. When I use glMultMatrixf or similar commands how are my matrices loaded in ogl? Do the first four floats become the first column or first row in opengl?
The first four floats becomes the first column in OpenGL. Like this:
00 04 08 12
01 05 09 13
02 06 10 14
03 07 11 15
00 04 08 12
01 05 09 13
02 06 10 14
03 07 11 15
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement