forked from bartvdbraak/blender
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
This commit is contained in:
parent
1c8ac33970
commit
e123434397
16
extern/carve/carve-capi.h
vendored
16
extern/carve/carve-capi.h
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user