Magnum/Primitives/Capsule.h file

Function Magnum::Primitives::capsule2DWireframe(), Magnum::Primitives::capsule3DSolid(), Magnum::Primitives::capsule3DWireframe()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Primitives
Primitive library.

Classes

struct Magnum::Primitives::Capsule2D deprecated
2D capsule
struct Magnum::Primitives::Capsule3D deprecated
3D capsule

Enums

enum class CapsuleTextureCoords: UnsignedByte { DontGenerate, Generate }
Whether to generate capsule texture coordinates.

Functions

auto capsule2DWireframe(UnsignedInt hemisphereRings, UnsignedInt cylinderRings, Float halfLength) -> Trade::MeshData2D
Wireframe 2D capsule.
auto capsule3DSolid(UnsignedInt hemisphereRings, UnsignedInt cylinderRings, UnsignedInt segments, Float halfLength, CapsuleTextureCoords textureCoords = CapsuleTextureCoords::DontGenerate) -> Trade::MeshData3D
Solid 3D capsule.
auto capsule3DWireframe(UnsignedInt hemisphereRings, UnsignedInt cylinderRings, UnsignedInt segments, Float halfLength) -> Trade::MeshData3D
Wireframe 3D capsule.