blob: bed885c7224918584356d48289eb28dd9bf05192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <OpenMesh/Core/Mesh/BaseKernel.hh>
namespace OpenMesh::Helpers {
template<typename Type, template<typename> typename PropertyT> struct Property : public PropertyT<Type> {
template<typename... Params> explicit Property(OpenMesh::BaseKernel * kernel, Params &&... params)
{
kernel->add_property(*this, std::forward<Params>(params)...);
}
};
}
|