Magnum::Primitives::UVSphere struct

3D UV sphere

Public types

using TextureCoords = UVSphereTextureCoords deprecated
Whether to generate UV sphere texture coordinates.

Public static functions

static auto solid(UnsignedInt rings, UnsignedInt segments, UVSphereTextureCoords textureCoords = UVSphereTextureCoords::DontGenerate) -> Trade::MeshData3D deprecated
Solid 3D UV sphere.
static auto wireframe(UnsignedInt rings, UnsignedInt segments) -> Trade::MeshData3D deprecated
Wireframe 3D UV sphere.

Typedef documentation

typedef UVSphereTextureCoords Magnum::Primitives::UVSphere::TextureCoords

Whether to generate UV sphere texture coordinates.

Function documentation

static Trade::MeshData3D Magnum::Primitives::UVSphere::solid(UnsignedInt rings, UnsignedInt segments, UVSphereTextureCoords textureCoords = UVSphereTextureCoords::DontGenerate)

Solid 3D UV sphere.

static Trade::MeshData3D Magnum::Primitives::UVSphere::wireframe(UnsignedInt rings, UnsignedInt segments)

Wireframe 3D UV sphere.