| 519 | } |
| 520 | |
| 521 | void PvdMetaDataBinding::sendAllProperties(PvdDataStream& inStream, const PxPhysics& inPhysics) |
| 522 | { |
| 523 | PxTolerancesScale theScale(inPhysics.getTolerancesScale()); |
| 524 | doSendAllProperties<PxPhysics, PxTolerancesScaleGeneratedValues>(inStream, &theScale, &inPhysics); |
| 525 | inStream.setPropertyValue(&inPhysics, "Version.Major", PxU32(PX_PHYSICS_VERSION_MAJOR)); |
| 526 | inStream.setPropertyValue(&inPhysics, "Version.Minor", PxU32(PX_PHYSICS_VERSION_MINOR)); |
| 527 | inStream.setPropertyValue(&inPhysics, "Version.Bugfix", PxU32(PX_PHYSICS_VERSION_BUGFIX)); |
| 528 | |
| 529 | #if PX_CHECKED |
| 530 | #if defined(NDEBUG) |
| 531 | // This is a checked build |
| 532 | String buildType = "Checked"; |
| 533 | #elif defined(_DEBUG) |
| 534 | // This is a debug build |
| 535 | String buildType = "Debug"; |
| 536 | #endif |
| 537 | #elif PX_PROFILE |
| 538 | String buildType = "Profile"; |
| 539 | #elif defined(NDEBUG) |
| 540 | // This is a release build |
| 541 | String buildType = "Release"; |
| 542 | #endif |
| 543 | inStream.setPropertyValue(&inPhysics, "Version.Build", buildType); |
| 544 | } |
| 545 | |
| 546 | void PvdMetaDataBinding::sendAllProperties(PvdDataStream& inStream, const PxScene& inScene) |
| 547 | { |
no test coverage detected