Magnum/Primitives/Cylinder.h file

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

Namespaces

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

Enums

enum class CylinderFlag: UnsignedByte { TextureCoordinates = 1 << 0 new in 2020.06, GenerateTextureCoords = TextureCoordinates deprecated in 2020.06, Tangents = 1 << 1 new in 2020.06, CapEnds = 1 << 2 }
Cylinder flag.

Typedefs

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

Functions

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