| 37 | using namespace Sq; |
| 38 | |
| 39 | static PX_FORCE_INLINE void updatePvdProperties(const Scb::Shape& shape) |
| 40 | { |
| 41 | #if PX_SUPPORT_PVD |
| 42 | Scb::Scene* scbScene = shape.getScbSceneForAPI(); |
| 43 | if(scbScene) |
| 44 | scbScene->getScenePvdClient().updatePvdProperties(&shape); |
| 45 | #else |
| 46 | PX_UNUSED(shape); |
| 47 | #endif |
| 48 | } |
| 49 | |
| 50 | NpShape::NpShape(const PxGeometry& geometry, PxShapeFlags shapeFlags, const PxU16* materialIndices, PxU16 materialCount, bool isExclusive) |
| 51 | : PxShape (PxConcreteType::eSHAPE, PxBaseFlag::eOWNS_MEMORY | PxBaseFlag::eIS_RELEASABLE) |
no test coverage detected