Hi,

I have encountered another problem. what is the replacement for 
_boundingBoxComputed in osg-3.6.2

in osg-3.4.0
It was defined in osg\Drawable


BoundingBox                             _initialBound;
ref_ptr<ComputeBoundingBoxCallback> _computeBoundCallback;
mutable BoundingBox                 _boundingBox;
mutable bool                              _boundingBoxComputed;

in osg-3.6.2
it  is not defined in osg\Drawable

BoundingBox                              _initialBoundingBox;
ref_ptr<ComputeBoundingBoxCallback>_computeBoundingBoxCallback;
mutable BoundingBox                 _boundingBox;



The code to be ported is

osg::BoundingBox OsgDynMesh::computeBoundingBox() const
{
        FBox3 box;
        m_pDynGeom->DoCalcBoundBox(box);

        // convert it to OSG bounds
        v2s(box.min, _boundingBox._min);
        v2s(box.max, _boundingBox._max);

        _boundingBoxComputed=true;
        return _boundingBox;
}

Thank you!

Cheers,
Herman

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75006#75006





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to