Magnum::Primitives::Cylinder struct

3D cylinder

Public types

using Flag = CylinderFlag deprecated
Cylinder flag.
using Flags = CylinderFlags deprecated
Cylinder flags.

Public static functions

static auto solid(UnsignedInt rings, UnsignedInt segments, Float halfLength, CylinderFlags flags = {}) -> Trade::MeshData3D deprecated
Solid 3D cylinder.
static auto wireframe(UnsignedInt rings, UnsignedInt segments, Float halfLength) -> Trade::MeshData3D deprecated
Wireframe 3D cylinder.

Typedef documentation

typedef CylinderFlag Magnum::Primitives::Cylinder::Flag

Cylinder flag.

typedef CylinderFlags Magnum::Primitives::Cylinder::Flags

Cylinder flags.

Function documentation

static Trade::MeshData3D Magnum::Primitives::Cylinder::solid(UnsignedInt rings, UnsignedInt segments, Float halfLength, CylinderFlags flags = {})

Solid 3D cylinder.

static Trade::MeshData3D Magnum::Primitives::Cylinder::wireframe(UnsignedInt rings, UnsignedInt segments, Float halfLength)

Wireframe 3D cylinder.