Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/opensubdiv/internal/topology/mesh_topology.h')
-rw-r--r--intern/opensubdiv/internal/topology/mesh_topology.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/opensubdiv/internal/topology/mesh_topology.h b/intern/opensubdiv/internal/topology/mesh_topology.h
index 183f5eb45d4..375d8a9379f 100644
--- a/intern/opensubdiv/internal/topology/mesh_topology.h
+++ b/intern/opensubdiv/internal/topology/mesh_topology.h
@@ -71,6 +71,13 @@ class MeshTopology {
void setEdgeSharpness(int edge_index, float sharpness);
float getEdgeSharpness(int edge_index) const;
+ //////////////////////////////////////////////////////////////////////////////
+ // Comparison.
+
+ // Check whether this topology refiner defines same topology as the given
+ // converter.
+ bool isEqualToConverter(const OpenSubdiv_Converter *converter) const;
+
protected:
// Unless full topology was specified the number of edges is not know ahead
// of a time.