diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:09:53 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-01-05 17:35:30 +0300 |
commit | 86141a75ebc5d0517edf71f2bc2fe7d0d13d8b5e (patch) | |
tree | b42fe0b9d11fa59260ad68a9be000bea46f048f7 /intern/opensubdiv | |
parent | 29ab711efa01a94d7d407c29755cd697dbd02276 (diff) |
Cleanup: fix typos in source code in intern/
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D13532
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r-- | intern/opensubdiv/internal/topology/mesh_topology.cc | 2 | ||||
-rw-r--r-- | intern/opensubdiv/internal/topology/mesh_topology.h | 4 | ||||
-rw-r--r-- | intern/opensubdiv/opensubdiv_converter_capi.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/intern/opensubdiv/internal/topology/mesh_topology.cc b/intern/opensubdiv/internal/topology/mesh_topology.cc index 29c387876ef..461a85fbdfb 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology.cc +++ b/intern/opensubdiv/internal/topology/mesh_topology.cc @@ -183,7 +183,7 @@ void MeshTopology::setNumFaces(int num_faces) num_faces_ = num_faces; // NOTE: Extra element to store fake face past the last real one to make it - // possible to calculate number of verticies in the last face. + // possible to calculate number of vertices in the last face. faces_first_vertex_index_.resize(num_faces + 1, 0); } diff --git a/intern/opensubdiv/internal/topology/mesh_topology.h b/intern/opensubdiv/internal/topology/mesh_topology.h index 861614482ef..a2fad890d9d 100644 --- a/intern/opensubdiv/internal/topology/mesh_topology.h +++ b/intern/opensubdiv/internal/topology/mesh_topology.h @@ -111,7 +111,7 @@ class MeshTopology { // Pipeline related. // This function is to be called when number of vertices, edges, faces, and - // face-verticies are known. + // face-vertices are known. // // Usually is called from the end of topology refiner factory's // resizeComponentTopology(). @@ -162,7 +162,7 @@ class MeshTopology { int num_faces_; - // Continuous array of all verticies of all faces: + // Continuous array of all vertices of all faces: // [vertex indices of face 0][vertex indices of face 1] .. [vertex indices of face n]. vector<int> face_vertex_indices_; diff --git a/intern/opensubdiv/opensubdiv_converter_capi.h b/intern/opensubdiv/opensubdiv_converter_capi.h index 6f914a20bf5..164a6dfeb03 100644 --- a/intern/opensubdiv/opensubdiv_converter_capi.h +++ b/intern/opensubdiv/opensubdiv_converter_capi.h @@ -135,7 +135,7 @@ typedef struct OpenSubdiv_Converter { // specified in precalcUVLayer(). int (*getNumUVCoordinates)(const struct OpenSubdiv_Converter *converter); // For the given face index and its corner (known as loop in Blender) - // get corrsponding UV coordinate index. + // get corresponding UV coordinate index. int (*getFaceCornerUVIndex)(const struct OpenSubdiv_Converter *converter, const int face_index, const int corner_index); |