| 2571 | } |
| 2572 | |
| 2573 | void PhysXSample::importRAWFile(const char* relativePath, PxReal scale, bool recook) |
| 2574 | { |
| 2575 | mMeshTag = 0; |
| 2576 | mFilename = relativePath; |
| 2577 | mScale = scale; |
| 2578 | |
| 2579 | const bool saved = gRecook; |
| 2580 | if(!gRecook && recook) |
| 2581 | gRecook = true; |
| 2582 | |
| 2583 | bool status = loadRAWfile(getSampleMediaFilename(mFilename), *this, scale); |
| 2584 | if (!status) |
| 2585 | { |
| 2586 | std::string msg = "Sample can not load file "; |
| 2587 | msg += getSampleMediaFilename(mFilename); |
| 2588 | msg += "\n"; |
| 2589 | fatalError(msg.c_str()); |
| 2590 | } |
| 2591 | |
| 2592 | gRecook = saved; |
| 2593 | } |
| 2594 | |
| 2595 |
nothing calls this directly
no test coverage detected