[Bf-blender-cvs] [e123434] master: Fix a few typos in carve-capi.h

Nicholas Bishop noreply at git.blender.org
Tue Aug 5 16:37:20 CEST 2014


Commit: e12343439717ade84add9fa3c8dcf368d5f3856a
Author: Nicholas Bishop
Date:   Tue Aug 5 10:36:45 2014 -0400
Branches: master
https://developer.blender.org/rBe12343439717ade84add9fa3c8dcf368d5f3856a

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

===================================================================

M	extern/carve/carve-capi.h

===================================================================

diff --git a/extern/carve/carve-capi.h b/extern/carve/carve-capi.h
index 25704df..f08ce41 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);




More information about the Bf-blender-cvs mailing list