Robert Osfield
4d4ff39ff9
Added a bool paramter to osg::StateSet::compare(const StateSet& rhs,bool compareAttributeContents=false) const;
...
to allow it to use different comparison schemes, now it can use checking for pointer equality (the default)
or attribute contexts. This has been added to assist optimization of databases within the flt loader, but
also could be useful for other operations too.
2001-10-31 20:04:32 +00:00
Robert Osfield
25c8b05914
Integrated Geoff Michel's updates to Stats code, whilest move all text rendering
...
back in the viewer from the Statistics header.
Added a osg::State::captureCurrentState(StateSet&) method and a copy constructor
to osg::StateSet.
2001-10-22 22:02:47 +00:00
Robert Osfield
39ea16aad7
Added osg::StateSet::merge(const StateSet& rhs) merges merges the modes and
...
attributes of rhs into 'this' stateset.
2001-10-14 09:58:49 +00:00
Robert Osfield
9917b6500d
Added a copyright notice to all core headers, which all begin with
...
//C++ header to help scripts and editors pick up the fact that the
file is a header file.
2001-10-04 15:12:57 +00:00
Robert Osfield
fc1fa57275
Added support for osg::StateSet comparison operators and using this new feature
...
added support in osgUtil::OptimizeStateVisitor for removing duplicate
StateSet's from the scene graph, previously only duplicated StateAttributes
we're removed.
2001-10-01 23:02:14 +00:00
Robert Osfield
7359d33d53
Made spelling corrections, the spelling mistakes picked up by a script
...
written by Neil Salter.
script
2001-10-01 11:15:55 +00:00
Robert Osfield
12f77f141e
*** empty log message ***
2001-09-28 16:56:19 +00:00
Don BURNS
7ae58df42a
Synch with 20010921
2001-09-22 02:42:08 +00:00
Don BURNS
7e81f6cfa6
More clean up for synch with 0.8.42
2001-09-19 21:19:47 +00:00