Mesh: reduce the use of const_cast in Mesh module
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
using namespace Mesh;
|
||||
|
||||
Facet::Facet(const MeshCore::MeshFacet& face, MeshObject* obj, MeshCore::FacetIndex index)
|
||||
Facet::Facet(const MeshCore::MeshFacet& face, const MeshObject* obj, MeshCore::FacetIndex index)
|
||||
: Index(index), Mesh(obj)
|
||||
{
|
||||
for (int i=0; i<3; i++) {
|
||||
|
||||
Reference in New Issue
Block a user