Magnum/MeshTools/Subdivide.h file

Function Magnum::MeshTools::subdivide(), Magnum::MeshTools::subdivideInPlace()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MeshTools
Mesh tools.

Functions

template<class IndexType, class Vertex, class Interpolator>
void subdivide(Containers::Array<IndexType>& indices, Containers::Array<Vertex>& vertices, Interpolator interpolator) new in 2020.06
Subdivide a mesh.
template<class Vertex, class Interpolator>
void subdivide(std::vector<UnsignedInt>& indices, std::vector<Vertex>& vertices, Interpolator interpolator) deprecated in 2020.06
Subdivide a mesh.
template<class IndexType, class Vertex, class Interpolator>
void subdivideInPlace(const Containers::StridedArrayView1D<IndexType>& indices, const Containers::StridedArrayView1D<Vertex>& vertices, Interpolator interpolator) new in 2020.06
Subdivide a mesh in-place.
template<class IndexType, class Vertex, class Interpolator>
void subdivideInPlace(const Containers::ArrayView<IndexType>& indices, const Containers::StridedArrayView1D<Vertex>& vertices, Interpolator interpolator) new in 2020.06