From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2006-06-10 16:14:34
me22 said: (by the date of Sat, 10 Jun 2006 14:07:12 -0400)
> Can the vector not be templated on length?
no. there is no need for that.
> If the internal storage for the matrix is usable as an array,
> interfacing with different C apis would be much easier if the ordering
> could be chosen (or at least relied upon). As I recall, OpenGL uses
> column-major and DirectX uses row-major, so there could be big savings
> in not needing to copy the values when passing the data to those APIs.
purpose of units library is not to provide interface with graphic
libraries. it might work, it might not.
-- Janek Kozicki |
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk