From 86141a75ebc5d0517edf71f2bc2fe7d0d13d8b5e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 5 Jan 2022 15:09:53 +0100 Subject: Cleanup: fix typos in source code in intern/ Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13532 --- intern/opensubdiv/internal/topology/mesh_topology.cc | 2 +- intern/opensubdiv/internal/topology/mesh_topology.h | 4 ++-- intern/opensubdiv/opensubdiv_converter_capi.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'intern/opensubdiv') 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 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); -- cgit v1.2.3