Changeset 9124 for OpenSceneGraph/trunk/examples/osg2cpp/osg2cpp.cpp
- Timestamp:
- 11/07/08 16:08:08 (5 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/examples/osg2cpp/osg2cpp.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osg2cpp/osg2cpp.cpp
r8937 r9124 4 4 #include <osgDB/ReadFile> 5 5 #include <osgDB/FileNameUtils> 6 #include <osgDB/fstream> 6 7 7 8 #include <iostream> 8 #include <fstream>9 9 10 10 void writeShader(osg::Shader* shader, const std::string& cppFileName, const std::string& variableName) 11 11 { 12 std::ofstream fout(cppFileName.c_str());12 osgDB::ofstream fout(cppFileName.c_str()); 13 13 if (!fout) 14 14 {
