Mitch Patenaude wrote:

Hi

I have a osg::matrixd that I use to project point (osg::vect3d) with matrix premult function. At some point, the premult return me a bad result because the matrix determinant is 0. I cannot find a way to find if the determinant is 0. There are no det function for the matrix. Is there a function that compute it? I try to compute it by hand but there, it seems that there are no way to access the matrix internal element.... Anyone have an Idea?

You can get the internal array of elements using the ptr() method.

Paul

--
Paul Melis

VR Specialist,
Center for High-Performance Computing & Visualization,
University of Groningen,
The Netherlands

T: +31 50 363 9298
E: [EMAIL PROTECTED]
W: http://www.rug.nl/rc/hpcv/index

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to