]> git.mxchange.org Git - simgear.git/commit
rewrite ModelRegistry callbacks as a template with pluggable policy classes
authortimoore <timoore>
Thu, 29 Nov 2007 23:56:09 +0000 (23:56 +0000)
committertimoore <timoore>
Thu, 29 Nov 2007 23:56:09 +0000 (23:56 +0000)
commit4a959ec2fd5c699ff3fc544363a47ccefdd2bcfc
treebec5f34ae0961534a66fee63ebd27e95c998fc9f
parentf182886fce31d5aa796578aebc652cfcbfff31ae
rewrite ModelRegistry callbacks as a template with pluggable policy classes

In a big effort to improve use of the object cache, provide a
ModelRegistryCallback template class with different policies for
substitution,  caching, optimization, etc.

Change SGTexDataVarianceVistor to make StateSets static too.
simgear/scene/model/ModelRegistry.cxx
simgear/scene/model/ModelRegistry.hxx
simgear/scene/tgdb/SGReaderWriterBTG.cxx