Magnum/Primitives/Cylinder.h file

Function Magnum::Primitives::cylinderSolid(), Magnum::Primitives::cylinderWireframe()

Namespaces

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

Classes

struct Magnum::Primitives::Cylinder deprecated
3D cylinder

Enums

enum class CylinderFlag { GenerateTextureCoords = 1 << 0, CapEnds = 1 << 1 }
Cylinder flag.

Typedefs

using CylinderFlags = Containers::EnumSet<CylinderFlag>
Cylinder flags.

Functions

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