Hello Tom,

If you could please post this info to the osgBullet list that would be helpful.

http://code.google.com/p/osgbullet/issues/list

http://groups.google.com/group/osgbullet-users

Thanks!

Doug

On Jun 9, 2011, at 10:46 AM, Thomas Hogarth wrote:

> Hi All
> 
> I've been working on getting osgBullet compiled for IOS, all seems to have 
> gone well and i got the basic demo with the glider running. I did run into 
> one compiler error from where I had compiled osg to use floats. I had to 
> change asBtTransform to the following
> 
> btTransform osgbBullet::asBtTransform( const osg::Matrix& m )
> {
>     const osg::Matrix::value_type* oPtr = m.ptr();
>     btScalar bPtr[ 16 ];
>     int idx;
>     for (idx=0; idx<16; idx++)
>         bPtr[ idx ] = oPtr[ idx ];
>     btTransform t;
>     t.setFromOpenGLMatrix( bPtr );
>     return t;
> }
> 
> The line 
> 
> const osg::Matrix::value_type* oPtr = m.ptr();
> 
> was
> 
> const osg::Matrixd::value_type* oPtr = m.ptr();
> 
> Other then that all went well. Lets see how it performs.
> 
> 
> Cheers
> Tom
> _______________________________________________
> 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

Reply via email to