Define a MeshHandle to simplify some template programming
This commit is contained in:
@@ -144,6 +144,15 @@ struct FaceHandle : public BaseHandle
|
||||
};
|
||||
|
||||
|
||||
/// Handle type for meshes to simplify some template programming
|
||||
struct MeshHandle : public BaseHandle
|
||||
{
|
||||
explicit MeshHandle(int _idx=-1) : BaseHandle(_idx) {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
//=============================================================================
|
||||
} // namespace OpenMesh
|
||||
//=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user