OpenSceneGraph/include
Robert Osfield f537ece404 From Leandro Motto Barros,
"I've made a few changes to osgUtil::PolytopeIntersector so that it
actually uses double precision floating point numbers everywhere (as
long as OSG_USE_FLOAT_PLANE is not defined).

I needed double precision intersections in a project I am working on.
These changes fixed the problems I was having -- this is all testing I
have done.

Notice that I have changed
osgUtil::PolytopeIntersector::Intersection's members to use doubles
(osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's there
too, but I think it is better to not change the types of stuff in the
public interface depending on some preprocessor definition.

The modified files are attached. A diff also follows, for those who like it."

With the following changes from Robert Osfield:

"I've just reviewed your changes and have just tweaked them a little to
streamline them.  What I have done in the PolytopeIntersector header
is add:

       typedef osg::Plane::Vec3_type Vec3_type;

And then use this typedef in the definition of the vertices rather
then Vec3d as you did.  Next changes were to PolytopeInteresector.cpp
where to the PolytopeIntersectorUtils defintions of the Vec3_type, and
value_type which now simply read:

   typedef osg::Plane::Vec3_type Vec3_type;
   typedef Vec3_type::value_type value_type;

This way I was able to complete avoid any if def's and have essential
the same implementation as you achieved.  Changes now checked into
svn/trunk."
2012-02-08 10:06:58 +00:00
..
OpenThreads Updated version number 2011-06-17 11:47:47 +00:00
osg From Brad Christiansen, "The attached files add the ability to control when a paged child becomes eligible for expiry based on time and/or elapsed frames. 2012-02-06 12:06:40 +00:00
osgAnimation Fix crash in osgAnimation when keyframe container are empty 2011-07-15 10:22:44 +00:00
osgDB Improved handling of archives 2012-02-03 11:10:17 +00:00
osgFX From Magnus Kessler, "After a closer look at this particular issue, I used some grep and sed magic 2010-09-30 16:57:02 +00:00
osgGA From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 2012-02-03 14:25:08 +00:00
osgManipulator Added DraggerTransformCallback::HandleCommandMask to DraggerTransformCallback to allow applications to select which 2012-02-01 13:55:38 +00:00
osgParticle Fixed Coverity reported issues. 2011-05-06 10:30:23 +00:00
osgPresentation Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when 2012-01-24 14:27:17 +00:00
osgQt From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget." 2012-02-07 11:41:20 +00:00
osgShadow Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. 2011-11-22 21:55:30 +00:00
osgSim Added doxygen comments explaining read file callback functionality. 2011-07-18 12:41:22 +00:00
osgTerrain Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex 2011-12-23 17:34:07 +00:00
osgText Added Font::getVertical(float& ascender, float& descender) methods. 2011-10-03 10:36:18 +00:00
osgUtil From Leandro Motto Barros, 2012-02-08 10:06:58 +00:00
osgViewer From Mathias Froehlich, "Attached is a change to the stats handler so that the aspect ratio of the 2012-02-06 13:40:01 +00:00
osgVolume Moved constructor implementation into .cpp 2011-05-06 12:30:21 +00:00
osgWidget Fixed Coverity reported issues. 2011-05-06 10:29:47 +00:00