In order to have a seamless transition for all the plugins and potential
user code the original constructor was marked as deprecated and there is
a new constructor taking also the colors.
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",Trade::MeshData2D(MeshPrimitive::Lines,{},{},{}));
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1&&segments>=3,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",Trade::MeshData3D(MeshPrimitive::Triangles,{},{},{},{}));
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1&&segments>=3,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",
CORRADE_ASSERT(rings>=1&&segments>=3,"Primitives::Cylinder::solid(): cylinder must have at least one ring and three segments",Trade::MeshData3D(MeshPrimitive::Triangles,{},{},{},{}));
CORRADE_ASSERT(rings>=1&&segments>=3,"Primitives::Cylinder::solid(): cylinder must have at least one ring and three segments",
CORRADE_ASSERT(rings>=2&&segments>=3,"UVSphere must have at least two rings and three segments",Trade::MeshData3D(MeshPrimitive::Triangles,{},{},{},{}));
CORRADE_ASSERT(rings>=2&&segments>=3,"UVSphere must have at least two rings and three segments",