Hi Jordi,
Look for Matrix operators methods:
inline value_type& operator()(int row, int col) { return
_mat[row][col]; }
inline value_type operator()(int row, int col) const { return
_mat[row][col]; }
On 10/17/07, Jordi Torres <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to do some conversions between OpenSceneGraph and Java using JNI.
> One of them, Matrix2jobject, must be able to read the elements of
> osg::Matrix for copy pourposes. osg::Matrix API doesn't provide methods for
> reading elements of an osg::Matrix instance, and the atribute _mat[4][4] is
> protected. Anybody knows how to get this elements?
>
> Thanks in advance.
>
> Regards, Jordi.
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org