Magnum/Primitives/UVSphere.h file

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

Namespaces

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

Enums

enum class UVSphereFlag: UnsignedByte { TextureCoordinates = 1 << 0, Tangents = 1 << 1 new in 2020.06 } new in 2020.06
UV sphere flag.
enum class UVSphereTextureCoords: UnsignedByte { DontGenerate, Generate } deprecated in 2020.06
Whether to generate UV sphere texture coordinates.

Typedefs

using UVSphereFlags = Containers::EnumSet<UVSphereFlag> new in 2020.06
UV sphere flags.

Functions

auto uvSphereSolid(UnsignedInt rings, UnsignedInt segments, UVSphereFlags flags = {}) -> Trade::MeshData new in 2020.06
Solid 3D UV sphere.
auto uvSphereSolid(UnsignedInt rings, UnsignedInt segments, UVSphereTextureCoords textureCoords) -> Trade::MeshData deprecated in 2020.06
Solid 3D UV sphere.
auto uvSphereWireframe(UnsignedInt rings, UnsignedInt segments) -> Trade::MeshData
Wireframe 3D UV sphere.