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: UnsignedByte { TextureCoordinates = 1 << 0 new in 2020.06, GenerateTextureCoords = TextureCoordinates deprecated in 2020.06, Tangents = 1 << 1 new in 2020.06, CapEnd = 1 << 2 }
Cone flag.

Typedefs

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

Functions

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