Hello ,

I am defining a matrix as follows:


         Matrix m;
 85     Vec4f v1 = (1,0,0,0);
 86     Vec4f v2 = (0,2,0,0);
 87     Vec4f v3 = (0,0,1,0);
 88     Vec4f v4 = (2,2,3,1);
 89
 90     m = Matrix(v1,v2,v3,v4);
 91
 92
 93     cout << m << endl;


And the desired out put is :


*// | 1 0 0 2 |
**// | 0 2 0 2 |
**// | 0 0 1 3 |
**// | 0 0 0 1 |


But i m getting the following

*

   0.000    0.000    0.000    1.000
   0.000    0.000    0.000    0.000
   0.000    0.000    0.000    0.000
   0.000    0.000    0.000    0.000


What am i missing in the process?




Sajjad

**
**
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to