mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-06-20 06:59:30 +02:00
25 lines
783 B
C++
25 lines
783 B
C++
//
|
|
// 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 <BulletCollision/CollisionShapes/btConvexHullShape.h>
|
|
|
|
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
|