Magnum/Shapes/Capsule.h file

Class Magnum::Shapes::Capsule, typedef Magnum::Shapes::Capsule2D, Magnum::Shapes::Capsule3D.

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Shapes deprecated
Shape library.

Classes

template<UnsignedInt dimensions>
class Magnum::Shapes::Capsule deprecated
Capsule defined by cylinder start and end point and radius.

Typedefs

using Capsule2D = Capsule<2> deprecated
Two-dimensional capsule.
using Capsule3D = Capsule<3> deprecated
Three-dimensional capsule.

Functions

template<UnsignedInt dimensions>
auto operator%(const Point<dimensions>& a, const Capsule<dimensions>& b) -> bool deprecated
Collision occurence of Point and Capsule.
template<UnsignedInt dimensions>
auto operator%(const Sphere<dimensions>& a, const Capsule<dimensions>& b) -> bool deprecated
Collision occurence of Sphere and Capsule.