texel's picture

glMultMatrixf() with Matrix4 ?

Hi,

Is it possible to give a Matrix4 as parameter to glMultMatrixf ?

Matrix4 matrix;
glMultMatrixf(matrix);

Matrix4 don't seems to have an array


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

It is possible, like this:

Matrix4 mat = new Matrix4();
GL.MultMatrix(ref mat);

This overload was added in 0.9.2.

texel's picture

OK.
Thanks.