Boost logo

Boost :

Subject: Re: [boost] Review manager for Boost QVM?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-06 16:39:35


Emil Dotchevski wrote:
> If a matrix type stores its values as anything but a 1-dimensional array
> in column-major order, you can't (portably) feed it into
> glUniformMatrix4fv without a temporary; at least it'd require a cast,
> which in theory may not work on some platform.

Actually, a two-dimensional array is guaranteed to be laid out linearly in
memory. The rest of the message still stands though.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk