Moved all #include "osg/.." references to #include <osg/..> to aid port to
MacOS.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "osg/AlphaFunc"
|
||||
#include <osg/AlphaFunc>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/BoundingBox"
|
||||
#include "osg/BoundingSphere"
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/BoundingSphere"
|
||||
#include <osg/BoundingSphere>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/GL"
|
||||
#include "osg/CullFace"
|
||||
#include <osg/GL>
|
||||
#include <osg/CullFace>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/EarthSky"
|
||||
#include <osg/EarthSky>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Fog"
|
||||
#include <osg/Fog>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/GL"
|
||||
#include "osg/FrontFace"
|
||||
#include <osg/GL>
|
||||
#include <osg/FrontFace>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
#include "osg/GL"
|
||||
#include "osg/GLExtensions"
|
||||
#include "osg/Notify"
|
||||
#include <osg/GL>
|
||||
#include <osg/GLExtensions>
|
||||
#include <osg/Notify>
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
#include <math.h>
|
||||
#include <float.h>
|
||||
|
||||
#include "osg/GeoSet"
|
||||
#include "osg/Notify"
|
||||
#include <osg/GeoSet>
|
||||
#include <osg/Notify>
|
||||
|
||||
//#include "osg/mem_ptr"
|
||||
//#include <osg/mem_ptr>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "osg/GL"
|
||||
#include "osg/GeoSet"
|
||||
#include "osg/Notify"
|
||||
#include <osg/GL>
|
||||
#include <osg/GeoSet>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "osg/Geode"
|
||||
#include <osg/Geode>
|
||||
|
||||
#define square(x) ((x)*(x))
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "osg/Group"
|
||||
#include "osg/BoundingBox"
|
||||
#include <osg/Group>
|
||||
#include <osg/BoundingBox>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Impostor"
|
||||
#include <osg/Impostor>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/LOD"
|
||||
#include <osg/LOD>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/Light"
|
||||
#include "osg/Notify"
|
||||
#include <osg/Light>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/LightSource"
|
||||
#include <osg/LightSource>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/LineSegment"
|
||||
#include <osg/LineSegment>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/Material"
|
||||
#include "osg/BoundsChecking"
|
||||
#include <osg/Material>
|
||||
#include <osg/BoundsChecking>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "osg/Node"
|
||||
#include "osg/Group"
|
||||
#include "osg/NodeVisitor"
|
||||
#include <osg/Node>
|
||||
#include <osg/Group>
|
||||
#include <osg/NodeVisitor>
|
||||
|
||||
#include "osg/Notify"
|
||||
#include <osg/Notify>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/NodeVisitor"
|
||||
#include <osg/NodeVisitor>
|
||||
#include <stdlib.h>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Notify"
|
||||
#include <osg/Notify>
|
||||
#include <string>
|
||||
|
||||
osg::NotifySeverity osg::g_NotifyLevel = osg::NOTICE;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Object"
|
||||
#include <osg/Object>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Ideas and code borrowed from GLUT pointburst demo
|
||||
// written by Mark J. Kilgard
|
||||
|
||||
#include "osg/GL"
|
||||
#include "osg/GLExtensions"
|
||||
#include "osg/Point"
|
||||
#include "osg/Notify"
|
||||
#include <osg/GL>
|
||||
#include <osg/GLExtensions>
|
||||
#include <osg/Point>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "osg/GL"
|
||||
#include "osg/PolygonMode"
|
||||
#include "osg/Notify"
|
||||
#include <osg/GL>
|
||||
#include <osg/PolygonMode>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/GL"
|
||||
#include "osg/PolygonOffset"
|
||||
#include <osg/GL>
|
||||
#include <osg/PolygonOffset>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include "osg/Quat"
|
||||
#include "osg/Vec4"
|
||||
#include "osg/Vec3"
|
||||
#include "osg/Types"
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec4>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Types>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Switch"
|
||||
#include <osg/Switch>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/TexEnv"
|
||||
#include <osg/TexEnv>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/TexGen"
|
||||
#include "osg/Notify"
|
||||
#include <osg/TexGen>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osg/GL"
|
||||
#include "osg/TexMat"
|
||||
#include <osg/GL>
|
||||
#include <osg/TexMat>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Transform"
|
||||
#include <osg/Transform>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Transparency"
|
||||
#include <osg/Transparency>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osg/Version"
|
||||
#include <osg/Version>
|
||||
|
||||
const char* osgGetVersion()
|
||||
{
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
#include "osg/Notify"
|
||||
#include <osg/Notify>
|
||||
|
||||
#include "osgDB/DynamicLibrary"
|
||||
#include "osgDB/FileUtils"
|
||||
#include <osgDB/DynamicLibrary>
|
||||
#include <osgDB/FileUtils>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osgDB/Field"
|
||||
#include "osgDB/FieldReader"
|
||||
#include <osgDB/Field>
|
||||
#include <osgDB/FieldReader>
|
||||
|
||||
using namespace osgDB;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgDB/FileNameUtils"
|
||||
#include <osgDB/FileNameUtils>
|
||||
|
||||
|
||||
// mac requires std::tolower, but IRIX MipsPro doesn't like it,
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "osg/Notify"
|
||||
#include "osg/Node"
|
||||
#include "osg/Geode"
|
||||
#include "osg/Group"
|
||||
#include <osg/Notify>
|
||||
#include <osg/Node>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Group>
|
||||
|
||||
#include "osgDB/FileUtils"
|
||||
#include "osgDB/FileNameUtils"
|
||||
#include "osgDB/Registry"
|
||||
#include <osgDB/FileUtils>
|
||||
#include <osgDB/FileNameUtils>
|
||||
#include <osgDB/Registry>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
@@ -319,8 +319,8 @@ std::string osgDB::findFileInDirectory(const std::string& fileName,const std::st
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include "io.h"
|
||||
#include "direct.h"
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
|
||||
osgDB::DirectoryContents osgDB::getDirectoryContents(const std::string& dirName)
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#include "osg/Notify"
|
||||
#include "osg/Object"
|
||||
#include "osg/Image"
|
||||
#include "osg/Node"
|
||||
#include <osg/Notify>
|
||||
#include <osg/Object>
|
||||
#include <osg/Image>
|
||||
#include <osg/Node>
|
||||
|
||||
#include "osgDB/Registry"
|
||||
#include "osgDB/ReadFile"
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/ReadFile>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
|
||||
#include "osg/Notify"
|
||||
#include "osg/Object"
|
||||
#include "osg/Image"
|
||||
#include "osg/Node"
|
||||
#include "osg/Group"
|
||||
#include "osg/Geode"
|
||||
#include <osg/Notify>
|
||||
#include <osg/Object>
|
||||
#include <osg/Image>
|
||||
#include <osg/Node>
|
||||
#include <osg/Group>
|
||||
#include <osg/Geode>
|
||||
|
||||
#include "osgDB/Registry"
|
||||
#include "osgDB/FileUtils"
|
||||
#include "osgDB/FileNameUtils"
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/FileUtils>
|
||||
#include <osgDB/FileNameUtils>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgDB/Version"
|
||||
#include <osgDB/Version>
|
||||
|
||||
const char* osgDBGetVersion()
|
||||
{
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
#include "osg/Notify"
|
||||
#include "osg/Object"
|
||||
#include "osg/Image"
|
||||
#include "osg/Node"
|
||||
#include "osg/Group"
|
||||
#include "osg/Geode"
|
||||
#include <osg/Notify>
|
||||
#include <osg/Object>
|
||||
#include <osg/Image>
|
||||
#include <osg/Node>
|
||||
#include <osg/Group>
|
||||
#include <osg/Geode>
|
||||
|
||||
#include "osgDB/Registry"
|
||||
#include "osgDB/WriteFile"
|
||||
#include <osgDB/Registry>
|
||||
#include <osgDB/WriteFile>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgGLUT/GLUTEventAdapter"
|
||||
#include <osgGLUT/GLUTEventAdapter>
|
||||
#include <osgGLUT/glut>
|
||||
|
||||
using namespace osgGLUT;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgGLUT/Version"
|
||||
#include <osgGLUT/Version>
|
||||
|
||||
const char* osgGLUTGetVersion()
|
||||
{
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "osgGLUT/Viewer"
|
||||
#include "osgGLUT/GLUTEventAdapter"
|
||||
#include <osgGLUT/Viewer>
|
||||
#include <osgGLUT/GLUTEventAdapter>
|
||||
|
||||
#include <osg/Switch>
|
||||
#include <osg/Billboard>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
|
||||
#include "osg/Transform"
|
||||
#include "osg/Geode"
|
||||
#include "osg/LOD"
|
||||
#include "osg/Billboard"
|
||||
#include "osg/LightSource"
|
||||
#include "osg/Impostor"
|
||||
#include "osg/Notify"
|
||||
#include <osg/Transform>
|
||||
#include <osg/Geode>
|
||||
#include <osg/LOD>
|
||||
#include <osg/Billboard>
|
||||
#include <osg/LightSource>
|
||||
#include <osg/Impostor>
|
||||
#include <osg/Notify>
|
||||
|
||||
#include "osgUtil/CullViewState"
|
||||
#include <osgUtil/CullViewState>
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "osgUtil/DisplayListVisitor"
|
||||
#include "osg/Drawable"
|
||||
#include <osgUtil/DisplayListVisitor>
|
||||
#include <osg/Drawable>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgUtil;
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
#pragma warning( disable : 4786 )
|
||||
#endif
|
||||
|
||||
#include "osgUtil/DriveManipulator"
|
||||
#include "osgUtil/IntersectVisitor"
|
||||
#include "osg/Notify"
|
||||
#include <osgUtil/DriveManipulator>
|
||||
#include <osgUtil/IntersectVisitor>
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgUtil;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "osgUtil/IntersectVisitor"
|
||||
#include "osg/Transform"
|
||||
#include "osg/Geode"
|
||||
#include "osg/LOD"
|
||||
#include "osg/Billboard"
|
||||
#include "osg/Notify"
|
||||
#include <osgUtil/IntersectVisitor>
|
||||
#include <osg/Transform>
|
||||
#include <osg/Geode>
|
||||
#include <osg/LOD>
|
||||
#include <osg/Billboard>
|
||||
#include <osg/Notify>
|
||||
|
||||
#include <float.h>
|
||||
#include <algorithm>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "osgUtil/RenderGraph"
|
||||
#include <osgUtil/RenderGraph>
|
||||
|
||||
#include "osg/Notify"
|
||||
#include <osg/Notify>
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgUtil;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgUtil/Version"
|
||||
#include <osgUtil/Version>
|
||||
|
||||
const char* osgUtilGetVersion()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "osgWX/Version"
|
||||
#include <osgWX/Version>
|
||||
|
||||
const char* osgWXGetVersion()
|
||||
{
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
//
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
#include <wx/wxprec.h>
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#include <wx/wx.h>
|
||||
#endif
|
||||
|
||||
#include "osgWX/WXEventAdapter"
|
||||
#include <osgWX/WXEventAdapter>
|
||||
|
||||
using namespace osgWX;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user