Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -19,7 +19,7 @@ std::string getFilePath(const std::string& filename) {
osgDB::FilePathList path;
char* fp = getenv("OSGWIDGET_FILE_PATH");
osgDB::convertStringPathIntoFilePathList(fp ? fp : ".", path);
return osgDB::findFileInPath(filename, path);
@@ -27,11 +27,11 @@ std::string getFilePath(const std::string& filename) {
std::string generateRandomName(const std::string& base) {
static unsigned int count = 0;
std::stringstream ss;
ss << base << "_" << count;
count++;
return ss.str();
@@ -50,7 +50,7 @@ osg::Camera* createOrthoCamera(matrix_type width, matrix_type height) {
camera->setViewMatrix(osg::Matrix::identity());
camera->setClearMask(GL_DEPTH_BUFFER_BIT);
camera->setRenderOrder(osg::Camera::POST_RENDER);
return camera;
}