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