// // CharacterGhostShape.h // libraries/physics/src // // Created by Andrew Meadows 2016.09.14 // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_CharacterGhostShape_h #define hifi_CharacterGhostShape_h #include class CharacterGhostShape : public btConvexHullShape { // Same as btConvexHullShape but reports an expanded Aabb for larger ghost overlap cache public: CharacterGhostShape(const btConvexHullShape* shape); virtual void getAabb (const btTransform& t, btVector3& aabbMin, btVector3& aabbMax) const override; }; #endif // hifi_CharacterGhostShape_h