- rename module template parameters

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@650 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2012-08-08 15:15:17 +00:00
parent 54fafe054b
commit a093b541c3
13 changed files with 68 additions and 68 deletions

View File

@@ -76,20 +76,20 @@ namespace Decimater {
*
*
*/
template<class DecimaterT>
class ModAspectRatioT: public ModBaseT<DecimaterT> {
template<class MeshT>
class ModAspectRatioT: public ModBaseT<MeshT> {
public:
DECIMATING_MODULE( ModAspectRatioT, DecimaterT, Roundness )
DECIMATING_MODULE( ModAspectRatioT, MeshT, Roundness )
;
typedef typename Mesh::Scalar Scalar;
typedef typename Mesh::Point Point;
/// constructor
ModAspectRatioT(DecimaterT& _dec, float _min_aspect = 5.0, bool _is_binary =
ModAspectRatioT(MeshT& _mesh, float _min_aspect = 5.0, bool _is_binary =
true) :
Base(_dec, _is_binary), mesh_(Base::mesh()), min_aspect_(
Base(_mesh, _is_binary), mesh_(Base::mesh()), min_aspect_(
1.0 / _min_aspect) {
mesh_.add_property(aspect_);
}