Changeset 10415 for OpenSceneGraph/trunk/src/osgPlugins/ply/plyfile.cpp
- Timestamp:
- 06/25/09 18:07:49 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ply/plyfile.cpp
r10088 r10415 46 46 #include <math.h> 47 47 #include <string.h> 48 49 #include <osg/Math> 48 50 49 51 #if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS) … … 858 860 return (NULL); 859 861 } 860 plyfile->version = atof(words[2]);862 plyfile->version = osg::asciiToDouble (words[2]); 861 863 } 862 864 else if (equal_strings (words[0], "element")) … … 2484 2486 case PLY_FLOAT32: 2485 2487 case PLY_DOUBLE: 2486 *double_val = atof(word);2488 *double_val = osg::asciiToDouble(word); 2487 2489 *int_val = (int) *double_val; 2488 2490 *uint_val = (unsigned int) *double_val;
