Windowless applications provide just a context for ofscreen rendering or
@ -166,8 +183,9 @@ to it.
Again, to simplify porting, you can also use generic `${MAGNUM_APPLICATION_INCLUDE_DIRS}`
and `${MAGNUM_WAPPLICATION_LIBRARIES}` aliases (or `${MAGNUM_WINDOWLESSAPPLICATION_INCLUDE_DIRS}`, `${MAGNUM_WINDOWLESSAPPLICATION_LIBRARIES}` for windowless applications), but
only if only one application (windowless application) component is requested to
avoid ambiguity. Changing the code to use different toolkit is then matter of
replacing only the requested `*Application` component.
avoid ambiguity. Changing the build script to use different toolkit is then
matter of replacing only the requested `*Application` component (and one
<tt>#</tt>`include` line in the actual code, as said above).
/* {} initializers are causing ICE in MSVC 2013. Bhaha. */
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",Trade::MeshData2D(Mesh::Primitive::Lines,std::vector<UnsignedInt>(),std::vector<std::vector<Vector2>>(),std::vector<std::vector<Vector2>>()));
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",Trade::MeshData2D(MeshPrimitive::Lines,std::vector<UnsignedInt>(),std::vector<std::vector<Vector2>>(),std::vector<std::vector<Vector2>>()));
/* {} initializers are causing ICE in MSVC 2013. Bhaha. */
CORRADE_ASSERT(hemisphereRings>=1&&cylinderRings>=1&&segments>=3,"Capsule must have at least one hemisphere ring, one cylinder ring and three segments",Trade::MeshData3D(Mesh::Primitive::Triangles,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));
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,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));
/* {} initializers are causing ICE in MSVC 2013. Bhaha. */
CORRADE_ASSERT(rings>=1&&segments>=3,"Primitives::Cylinder::solid(): cylinder must have at least one ring and three segments",Trade::MeshData3D(Mesh::Primitive::Triangles,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));
CORRADE_ASSERT(rings>=1&&segments>=3,"Primitives::Cylinder::solid(): cylinder must have at least one ring and three segments",Trade::MeshData3D(MeshPrimitive::Triangles,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));
/* {} initializers are causing ICE in MSVC 2013. Bhaha. */
CORRADE_ASSERT(rings>=2&&segments>=3,"UVSphere must have at least two rings and three segments",Trade::MeshData3D(Mesh::Primitive::Triangles,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));
CORRADE_ASSERT(rings>=2&&segments>=3,"UVSphere must have at least two rings and three segments",Trade::MeshData3D(MeshPrimitive::Triangles,std::vector<UnsignedInt>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector3>>(),std::vector<std::vector<Vector2>>()));