Clean up includes

move
scrawl 9 years ago
parent f94722b271
commit 5824619a95

@ -10,7 +10,6 @@
#include <osg/Geode> #include <osg/Geode>
#include <osg/BlendFunc> #include <osg/BlendFunc>
#include <osg/Material> #include <osg/Material>
#include <osg/Version>
#include <osgParticle/ParticleSystem> #include <osgParticle/ParticleSystem>

@ -5,7 +5,6 @@
#include <osg/Group> #include <osg/Group>
#include <osg/Geode> #include <osg/Geode>
#include <osg/UserDataContainer> #include <osg/UserDataContainer>
#include <osg/Version>
#include <osgParticle/ParticleSystem> #include <osgParticle/ParticleSystem>
#include <osgParticle/ParticleProcessor> #include <osgParticle/ParticleProcessor>

@ -11,7 +11,6 @@
#include <osg/Material> #include <osg/Material>
#include <osg/TexEnvCombine> #include <osg/TexEnvCombine>
#include <osg/TexMat> #include <osg/TexMat>
#include <osg/Version>
#include <osg/OcclusionQueryNode> #include <osg/OcclusionQueryNode>
#include <osg/ColorMask> #include <osg/ColorMask>
#include <osg/MatrixTransform> #include <osg/MatrixTransform>

@ -5,7 +5,6 @@
#include <osg/Geode> #include <osg/Geode>
#include <osg/Geometry> #include <osg/Geometry>
#include <osg/Array> #include <osg/Array>
#include <osg/Version>
#include <osg/LOD> #include <osg/LOD>
// resource // resource

@ -2,7 +2,6 @@
#include <osgDB/Registry> #include <osgDB/Registry>
#include <osg/GLExtensions> #include <osg/GLExtensions>
#include <osg/Version>
#include <components/vfs/manager.hpp> #include <components/vfs/manager.hpp>

@ -4,7 +4,6 @@
#include <osg/Node> #include <osg/Node>
#include <osg/Geode> #include <osg/Geode>
#include <osg/UserDataContainer> #include <osg/UserDataContainer>
#include <osg/Version>
#include <osgParticle/ParticleSystem> #include <osgParticle/ParticleSystem>
#include <osgFX/Effect> #include <osgFX/Effect>
@ -52,7 +51,6 @@ namespace
&& partsys->getUserDataContainer()->getDescriptions()[0] == "worldspace"); && partsys->getUserDataContainer()->getDescriptions()[0] == "worldspace");
} }
#if OSG_VERSION_GREATER_OR_EQUAL(3,3,3)
// in OSG 3.3 and up Drawables can be directly in the scene graph without a Geode decorating them. // in OSG 3.3 and up Drawables can be directly in the scene graph without a Geode decorating them.
void apply(osg::Drawable& drw) void apply(osg::Drawable& drw)
{ {
@ -67,7 +65,6 @@ namespace
partsys->setNodeMask(mMask); partsys->setNodeMask(mMask);
} }
} }
#endif
void transformInitialParticles(osgParticle::ParticleSystem* partsys, osg::Node* node) void transformInitialParticles(osgParticle::ParticleSystem* partsys, osg::Node* node)
{ {

@ -5,7 +5,6 @@
#include <osg/Drawable> #include <osg/Drawable>
#include <osg/Geode> #include <osg/Geode>
#include <osg/NodeCallback> #include <osg/NodeCallback>
#include <osg/Version>
namespace SceneUtil namespace SceneUtil
{ {

@ -4,7 +4,6 @@
#include <iostream> #include <iostream>
#include <cstdlib> #include <cstdlib>
#include <osg/Version>
#include <osg/MatrixTransform> #include <osg/MatrixTransform>
#include "skeleton.hpp" #include "skeleton.hpp"

@ -2,8 +2,6 @@
#include <SDL_video.h> #include <SDL_video.h>
#include <osg/Version>
namespace SDLUtil namespace SDLUtil
{ {

@ -19,7 +19,6 @@
#include <osg/Geometry> #include <osg/Geometry>
#include <osg/Geode> #include <osg/Geode>
#include <osg/KdTree> #include <osg/KdTree>
#include <osg/Version>
#include <osgFX/Effect> #include <osgFX/Effect>

Loading…
Cancel
Save