From e12343439717ade84add9fa3c8dcf368d5f3856a Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Tue, 5 Aug 2014 10:36:45 -0400 Subject: 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 --- extern/carve/carve-capi.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'extern/carve') 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); -- cgit v1.2.3