diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2014-08-05 18:36:45 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2014-08-05 18:36:45 +0400 |
commit | e12343439717ade84add9fa3c8dcf368d5f3856a (patch) | |
tree | f620c5250a4ce02b14bf04fa30bb430c9ae61854 /extern | |
parent | 1c8ac33970f6e200f236914443d1f0ea3b2a8e0c (diff) |
Fix a few typos in carve-capi.h
The typos didn't cause any bug, but the mis-ordered parameter names in CarveExporter_InitGeomArrays were confusing.
Reviewers: sergey
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D709
Diffstat (limited to 'extern')
-rw-r--r-- | extern/carve/carve-capi.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extern/carve/carve-capi.h b/extern/carve/carve-capi.h index 25704dfeb48..f08ce418762 100644 --- a/extern/carve/carve-capi.h +++ b/extern/carve/carve-capi.h @@ -54,13 +54,13 @@ typedef int (*CarveImporter_GetNumPolys) (struct ImportMeshData *import_data); // Get 3D coordinate of vertex with given index. typedef void (*CarveImporter_GetVertCoord) (struct ImportMeshData *import_data, int vert_index, float coord[3]); -// Get index of vertices which are adjucent to edge specified by it's index. +// Get index of vertices which are adjacent to edge specified by its index. typedef void (*CarveImporter_GetEdgeVerts) (struct ImportMeshData *import_data, int edge_index, int *v1, int *v2); -// Get number of adjucent vertices to the poly specified by it's index. +// Get number of adjacent vertices to the poly specified by its index. typedef int (*CarveImporter_GetPolyNumVerts) (struct ImportMeshData *import_data, int poly_index); -// Get list of adjucent vertices to the poly specified by it's index. +// Get list of adjacent vertices to the poly specified by its index. typedef void (*CarveImporter_GetPolyVerts) (struct ImportMeshData *import_data, int poly_index, int *verts); // Triangulate 2D polygon. @@ -89,24 +89,24 @@ struct ExportMeshData; // Initialize arrays for geometry. typedef void (*CarveExporter_InitGeomArrays) (struct ExportMeshData *export_data, int num_verts, int num_edges, - int num_polys, int num_loops); + int num_loops, int num_polys); // Set coordinate of vertex with given index. typedef void (*CarveExporter_SetVert) (struct ExportMeshData *export_data, int vert_index, float coord[3], - int which_orig_mesh, int orig_edge_index); + int which_orig_mesh, int orig_vert_index); -// Set vertices which are adjucent to the edge specified by it's index. +// Set vertices which are adjacent to the edge specified by its index. typedef void (*CarveExporter_SetEdge) (struct ExportMeshData *export_data, int edge_index, int v1, int v2, int which_orig_mesh, int orig_edge_index); -// Set adjucent loops to the poly specified by it's index. +// Set adjacent loops to the poly specified by its index. typedef void (*CarveExporter_SetPoly) (struct ExportMeshData *export_data, int poly_index, int start_loop, int num_loops, int which_orig_mesh, int orig_poly_index); -// Set list vertex and edge which are adjucent to loop with given index. +// Set list vertex and edge which are adjacent to loop with given index. typedef void (*CarveExporter_SetLoop) (struct ExportMeshData *export_data, int loop_index, int vertex, int edge, int which_orig_mesh, int orig_loop_index); |