| 306 | } |
| 307 | |
| 308 | static void PrintFileFormat( std::string const& filePath ) |
| 309 | { |
| 310 | FileFormat const fileFormat = FileSystemHelpers::GetFileFormat( filePath.c_str() ); |
| 311 | |
| 312 | if ( fileFormat == FileFormat::Binary ) |
| 313 | { |
| 314 | printf( "%s - binary\n", filePath.c_str() ); |
| 315 | } |
| 316 | else if ( fileFormat == FileFormat::Ascii ) |
| 317 | { |
| 318 | printf( "%s - ascii\n", filePath.c_str() ); |
| 319 | } |
| 320 | else |
| 321 | { |
| 322 | printf( "%s doesnt exist or is not an FBX file!\n", filePath.c_str() ); |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | //------------------------------------------------------------------------- |
| 327 | |