| 313 | } |
| 314 | |
| 315 | PxGeometryHolder NpShape::getGeometry() const |
| 316 | { |
| 317 | PX_COMPILE_TIME_ASSERT(sizeof(Gu::GeometryUnion)>=sizeof(PxGeometryHolder)); |
| 318 | return reinterpret_cast<const PxGeometryHolder&>(mShape.getGeometry()); |
| 319 | } |
| 320 | |
| 321 | template<class T> |
| 322 | static PX_FORCE_INLINE bool getGeometryT(const NpShape* npShape, PxGeometryType::Enum type, T& geom) |
no outgoing calls