Magnum/Primitives/Circle.h file

Function Magnum::Primitives::circle2DSolid(), Magnum::Primitives::circle2DWireframe(), Magnum::Primitives::circle3DSolid(), Magnum::Primitives::circle3DWireframe()

Namespaces

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

Enums

enum class Circle2DFlag: UnsignedByte { TextureCoordinates = 1 << 0 } new in 2020.06
2D circle flag
enum class CircleTextureCoords: UnsignedByte { DontGenerate, Generate } deprecated in 2020.06
Whether to generate circle texture coordinates.
enum class Circle3DFlag: UnsignedByte { TextureCoordinates = 1 << 0, Tangents = 1 << 1 new in 2020.06 } new in 2020.06
3D circle flag

Typedefs

using Circle2DFlags = Containers::EnumSet<Circle2DFlag> new in 2020.06
2D circle flags
using Circle3DFlags = Containers::EnumSet<Circle3DFlag> new in 2020.06
3D circle flags

Functions

auto circle2DSolid(UnsignedInt segments, Circle2DFlags flags = {}) -> Trade::MeshData new in 2020.06
Solid 2D circle.
auto circle2DSolid(UnsignedInt segments, CircleTextureCoords textureCoords) -> Trade::MeshData deprecated in 2020.06
Solid 2D circle.
auto circle2DWireframe(UnsignedInt segments) -> Trade::MeshData
Wireframe 2D circle.
auto circle3DSolid(UnsignedInt segments, Circle3DFlags flags = {}) -> Trade::MeshData new in 2020.06
Solid 3D circle.
auto circle3DSolid(UnsignedInt segments, CircleTextureCoords textureCoords) -> Trade::MeshData deprecated in 2020.06
Solid 3D circle.
auto circle3DWireframe(UnsignedInt segments) -> Trade::MeshData
Wireframe 3D circle.