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:
authorCampbell Barton <ideasman42@gmail.com>2019-06-17 05:51:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-17 05:52:20 +0300
commita1ef2e4b16e1fe3c183e7477649f866b3e814102 (patch)
tree701f1696694488a780989cec0efb5063068b181e /intern/opensubdiv
parent12da679fa094bdee5e0d55bac51a95a7abfc6d13 (diff)
Cleanup: comment, RNA spelling
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/internal/opensubdiv_edge_map.h2
-rw-r--r--intern/opensubdiv/internal/opensubdiv_topology_refiner.cc10
2 files changed, 6 insertions, 6 deletions
diff --git a/intern/opensubdiv/internal/opensubdiv_edge_map.h b/intern/opensubdiv/internal/opensubdiv_edge_map.h
index 661b8a10eda..e2e6d2328fe 100644
--- a/intern/opensubdiv/internal/opensubdiv_edge_map.h
+++ b/intern/opensubdiv/internal/opensubdiv_edge_map.h
@@ -38,7 +38,7 @@ class EdgeKey {
int v2;
};
-// Map from an edge defined by its verticies index to a custom tag value.
+// Map from an edge defined by its vertices index to a custom tag value.
template<typename T> class EdgeTagMap {
public:
typedef EdgeKey key_type;
diff --git a/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc b/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc
index 69907da8a8c..f4a1a82ca52 100644
--- a/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc
+++ b/intern/opensubdiv/internal/opensubdiv_topology_refiner.cc
@@ -378,7 +378,7 @@ bool compareCyclicBackward(const CyclicArray &array_a,
return true;
}
-// Utility function dedicated for checking whether whether verticies indices
+// Utility function dedicated for checking whether whether vertices indices
// used by two faces match.
// The tricky part here is that we can't trust 1:1 array match here, since it's
// possible that OpenSubdiv oriented edges of a face to make it compatible with
@@ -386,7 +386,7 @@ bool compareCyclicBackward(const CyclicArray &array_a,
//
// TODO(sergey): Check whether this is needed, ot whether OpenSubdiv is only
// creating edges in a proper orientation without modifying indices of face
-// verticies.
+// vertices.
bool checkVerticesOfFacesMatch(const CyclicArray &indices_a, const CyclicArray &indices_b)
{
if (indices_a.size() != indices_a.size()) {
@@ -503,7 +503,7 @@ bool checkEdgeTagsMatchAutoOrient(const OpenSubdiv::Far::TopologyRefiner *topolo
using OpenSubdiv::Far::TopologyLevel;
const TopologyLevel &base_level = topology_refiner->GetLevel(0);
const int num_edges = base_level.GetNumEdges();
- // Create mapping for quick lookup of edge index from its verticies indices.
+ // Create mapping for quick lookup of edge index from its vertices indices.
//
// TODO(sergey): Consider caching it in some sort of wrapper around topology
// refiner.
@@ -514,7 +514,7 @@ bool checkEdgeTagsMatchAutoOrient(const OpenSubdiv::Far::TopologyRefiner *topolo
}
// Compare all edges.
for (int converter_edge_index = 0; converter_edge_index < num_edges; ++converter_edge_index) {
- // Get edge verticies indices, and lookup corresponding edge index in the
+ // Get edge vertices indices, and lookup corresponding edge index in the
// base topology level.
int edge_vertices[2];
converter->getEdgeVertices(converter, converter_edge_index, edge_vertices);
@@ -546,7 +546,7 @@ bool checkvertexSharpnessMatch(const OpenSubdiv::Far::TopologyRefiner *topology_
using OpenSubdiv::Far::TopologyLevel;
using OpenSubdiv::Sdc::Crease;
const TopologyLevel &base_level = topology_refiner->GetLevel(0);
- // Create mapping for quick lookup of edge index from its verticies indices.
+ // Create mapping for quick lookup of edge index from its vertices indices.
//
// TODO(sergey): Consider caching it in some sort of wrapper around topology
// refiner.