Magnum/Primitives/Cone.h file

Function Magnum::Primitives::coneSolid(), Magnum::Primitives::coneWireframe()

Contents

Namespaces

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

Enums

enum class ConeFlag { GenerateTextureCoords = 1 << 0, CapEnd = 1 << 1 }
Cone flag.

Typedefs

using ConeFlags = Containers::EnumSet<ConeFlag>
Cone flags.

Functions

auto coneSolid(UnsignedInt rings, UnsignedInt segments, Float halfLength, ConeFlags flags = {}) -> Trade::MeshData3D
Solid 3D cone.
auto coneWireframe(UnsignedInt segments, Float halfLength) -> Trade::MeshData3D
Wireframe 3D cone.