Magnum/Primitives/UVSphere.h file

Class Magnum::Primitives::uvSphereSolid(), Magnum::Primitives::uvSphereWireframe()

Contents

Namespaces

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

Classes

struct Magnum::Primitives::UVSphere deprecated
3D UV sphere

Enums

enum class UVSphereTextureCoords: UnsignedByte { DontGenerate, Generate }
Whether to generate UV sphere texture coordinates.

Functions

auto uvSphereSolid(UnsignedInt rings, UnsignedInt segments, UVSphereTextureCoords textureCoords = UVSphereTextureCoords::DontGenerate) -> Trade::MeshData3D
Solid 3D UV sphere.
auto uvSphereWireframe(UnsignedInt rings, UnsignedInt segments) -> Trade::MeshData3D
Wireframe 3D UV sphere.