|
Ublas : |
From: Troy Taillefer (ironwaist29_at_[hidden])
Date: 2008-04-11 20:33:49
Hi all,
I am trying to use Boost Matrix and vector with opnegl.
I have a couple of things working so far but here are things that I would like to know
1. Does Boost Matrix provide a simple way to convert between row major and column major formats? Or is it do it yourself.
2. Is the a way to take an array of 16 floats in clomun major order and put them in a Boost 4x4 Matrix ? Or is it do it yourself.
GLfloat lightModelview[16], lightProjection[16];
glGetFloatv(GL_PROJECTION_MATRIX, lightProjection);
glGetFloatv(GL_MODELVIEW_MATRIX, lightModelview);
3. Does Boost matrix handle multiplying Matrixes in different formats ( row and column major) automatically ?
Troy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com