1
\$\begingroup\$

Is there a way to get the address of a matrix from a GLM matrix?

I'm using opengl 4 and glm library though I can't seem to find anything, which might help.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

You can access the memory of any glm type by using glm::value_ptr. Matrix types store their values in column-major order, and as floats.

\$\endgroup\$
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .