Changeset 5139 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 05/15/06 13:38:56 (7 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r5032 r5139 1223 1223 osg::Image* readRaw(int sizeX, int sizeY, int sizeZ, int numberBytesPerComponent, int numberOfComponents, const std::string& endian, const std::string& raw_filename) 1224 1224 { 1225 std::ifstream fin(raw_filename.c_str() );1225 std::ifstream fin(raw_filename.c_str(), std::ifstream::binary); 1226 1226 if (!fin) return 0; 1227 1227
