Docs: arg names
This commit is contained in:
@@ -565,7 +565,7 @@ BVHTree *bvhtree_from_mesh_verts(
|
||||
/**
|
||||
* Builds a bvh tree where nodes are the given vertices (note: does not copy given mverts!).
|
||||
* \param vert_allocated if true, vert freeing will be done when freeing data.
|
||||
* \param mask if not null, true elements give which vert to add to BVH tree.
|
||||
* \param verts_mask if not null, true elements give which vert to add to BVH tree.
|
||||
* \param verts_num_active if >= 0, number of active verts to add to BVH tree (else will be computed from mask).
|
||||
*/
|
||||
BVHTree *bvhtree_from_mesh_verts_ex(
|
||||
@@ -804,7 +804,7 @@ BVHTree *bvhtree_from_mesh_faces(
|
||||
* Builds a bvh tree where nodes are the given tessellated faces (note: does not copy given mfaces!).
|
||||
* \param vert_allocated if true, vert freeing will be done when freeing data.
|
||||
* \param face_allocated if true, face freeing will be done when freeing data.
|
||||
* \param mask if not null, true elements give which faces to add to BVH tree.
|
||||
* \param faces_mask: if not null, true elements give which faces to add to BVH tree.
|
||||
* \param numFaces_active if >= 0, number of active faces to add to BVH tree (else will be computed from mask).
|
||||
*/
|
||||
BVHTree *bvhtree_from_mesh_faces_ex(
|
||||
|
||||
@@ -124,7 +124,7 @@ static IDType *idtype_from_code(short idcode)
|
||||
/**
|
||||
* Return if the ID code is a valid ID code.
|
||||
*
|
||||
* \param code The code to check.
|
||||
* \param idcode: The code to check.
|
||||
* \return Boolean, 0 when invalid.
|
||||
*/
|
||||
bool BKE_idcode_is_valid(short idcode)
|
||||
@@ -135,7 +135,7 @@ bool BKE_idcode_is_valid(short idcode)
|
||||
/**
|
||||
* Return non-zero when an ID type is linkable.
|
||||
*
|
||||
* \param code The code to check.
|
||||
* \param idcode: The code to check.
|
||||
* \return Boolean, 0 when non linkable.
|
||||
*/
|
||||
bool BKE_idcode_is_linkable(short idcode)
|
||||
@@ -148,7 +148,7 @@ bool BKE_idcode_is_linkable(short idcode)
|
||||
/**
|
||||
* Convert an idcode into a name.
|
||||
*
|
||||
* \param code The code to convert.
|
||||
* \param idcode: The code to convert.
|
||||
* \return A static string representing the name of
|
||||
* the code.
|
||||
*/
|
||||
@@ -261,7 +261,7 @@ short BKE_idcode_from_idfilter(const int idfilter)
|
||||
/**
|
||||
* Convert an idcode into a name (plural).
|
||||
*
|
||||
* \param code The code to convert.
|
||||
* \param idcode: The code to convert.
|
||||
* \return A static string representing the name of
|
||||
* the code.
|
||||
*/
|
||||
@@ -275,7 +275,7 @@ const char *BKE_idcode_to_name_plural(short idcode)
|
||||
/**
|
||||
* Convert an idcode into its translations' context.
|
||||
*
|
||||
* \param code The code to convert.
|
||||
* \param idcode: The code to convert.
|
||||
* \return A static string representing the i18n context of the code.
|
||||
*/
|
||||
const char *BKE_idcode_to_translation_context(short idcode)
|
||||
|
||||
@@ -352,8 +352,6 @@ void BLI_filelist_entry_datetime_to_string(
|
||||
|
||||
/**
|
||||
* Deep-duplicate of a single direntry.
|
||||
*
|
||||
* \param dup_poin If given, called for each non-NULL direntry->poin. Otherwise, pointer is always simply copied over.
|
||||
*/
|
||||
void BLI_filelist_entry_duplicate(struct direntry *dst, const struct direntry *src)
|
||||
{
|
||||
@@ -368,8 +366,6 @@ void BLI_filelist_entry_duplicate(struct direntry *dst, const struct direntry *s
|
||||
|
||||
/**
|
||||
* Deep-duplicate of an array of direntries, including the array itself.
|
||||
*
|
||||
* \param dup_poin If given, called for each non-NULL direntry->poin. Otherwise, pointer is always simply copied over.
|
||||
*/
|
||||
void BLI_filelist_duplicate(
|
||||
struct direntry **dest_filelist, struct direntry * const src_filelist, const unsigned int nrentries)
|
||||
|
||||
@@ -2692,7 +2692,7 @@ bool isect_point_tri_prism_v3(const float p[3], const float v1[3], const float v
|
||||
}
|
||||
|
||||
/**
|
||||
* \param r_vi The point \a p projected onto the triangle.
|
||||
* \param r_isect_co: The point \a p projected onto the triangle.
|
||||
* \return True when \a p is inside the triangle.
|
||||
* \note Its up to the caller to check the distance between \a p and \a r_vi against an error margin.
|
||||
*/
|
||||
|
||||
@@ -310,7 +310,7 @@ static int BLI_path_unc_prefix_len(const char *path); /* defined below in same f
|
||||
/**
|
||||
* Remove redundant characters from \a path and optionally make absolute.
|
||||
*
|
||||
* \param relbase: The path this is relative to, or ignored when NULL.
|
||||
* \param relabase: The path this is relative to, or ignored when NULL.
|
||||
* \param path: Can be any input, and this function converts it to a regular full path.
|
||||
* Also removes garbage from directory paths, like `/../` or double slashes etc.
|
||||
*
|
||||
|
||||
@@ -1292,7 +1292,8 @@ static bool bm_decim_edge_collapse(
|
||||
* \param factor face count multiplier [0 - 1]
|
||||
* \param vweights Optional array of vertex aligned weights [0 - 1],
|
||||
* a vertex group is the usual source for this.
|
||||
* \param axis: Axis of symmetry, -1 to disable mirror decimate.
|
||||
* \param symmetry_axis: Axis of symmetry, -1 to disable mirror decimate.
|
||||
* \param symmetry_eps: Threshold when matching mirror verts.
|
||||
*/
|
||||
void BM_mesh_decimate_collapse(
|
||||
BMesh *bm,
|
||||
|
||||
@@ -4323,7 +4323,7 @@ uiBut *uiDefSearchBut(uiBlock *block, void *arg, int retval, int icon, int maxle
|
||||
|
||||
|
||||
/**
|
||||
* \param sfunc, bfunc: both get it as \a arg.
|
||||
* \param search_func, bfunc: both get it as \a arg.
|
||||
* \param arg: user value,
|
||||
* \param active: when set, button opens with this item visible and selected.
|
||||
*/
|
||||
|
||||
@@ -1642,7 +1642,7 @@ static bool transform_snap_context_project_view3d_mixed_impl(
|
||||
* Given a 2D region value, snap to vert/edge/face.
|
||||
*
|
||||
* \param sctx: Snap context.
|
||||
* \param mval: Screenspace coordinate.
|
||||
* \param mval_fl: Screenspace coordinate.
|
||||
* \param dist_px: Maximum distance to snap (in pixels).
|
||||
* \param use_depth: Snap to the closest element, use when using more than one snap type.
|
||||
* \param r_co: hit location.
|
||||
|
||||
Reference in New Issue
Block a user