Cleanup: spelling

This commit is contained in:
Campbell Barton
2020-09-09 13:19:50 +10:00
parent 1f75be8a40
commit 23f1dea440
12 changed files with 14 additions and 14 deletions

View File

@@ -124,8 +124,8 @@ ccl_device_inline float bessel_I0(float x)
ccl_device_inline float log_bessel_I0(float x)
{
if (x > 12.0f) {
/* log(1/x) == -log(x) iff x > 0.
* This is only used with positive cosines */
/* log(1/x) == -log(x) if x > 0.
* This is only used with positive cosines. */
return x + 0.5f * (1.f / (8.0f * x) - M_LN_2PI_F - logf(x));
}
else {

View File

@@ -20,7 +20,7 @@
/** \file
* \ingroup depsgraph
*
* Evaluation engine entrypoints for Depsgraph Engine.
* Evaluation engine entry-points for Depsgraph Engine.
*/
#include "intern/eval/deg_eval.h"

View File

@@ -20,7 +20,7 @@
/** \file
* \ingroup depsgraph
*
* Evaluation engine entrypoints for Depsgraph Engine.
* Evaluation engine entry-points for Depsgraph Engine.
*/
#pragma once

View File

@@ -61,7 +61,7 @@ typedef struct TextFormatType {
char (*format_identifier)(const char *string);
/* Formats the specified line. If do_next is set, the process will move on to
* the succeeding line if it is affected (eg. multiline strings). Format strings
* the succeeding line if it is affected (eg. multi-line strings). Format strings
* may contain any of the following characters:
*
* It is terminated with a null-terminator '\0' followed by a continuation

View File

@@ -261,7 +261,7 @@ static void construct_param_handle_face_add(ParamHandle *handle,
key = (ParamKey)face_index;
/* let parametrizer split the ngon, it can make better decisions
* about which split is best for unwrapping than scanfill */
* about which split is best for unwrapping than poly-fill. */
BM_ITER_ELEM_INDEX (l, &liter, efa, BM_LOOPS_OF_FACE, i) {
MLoopUV *luv = BM_ELEM_CD_GET_VOID_P(l, cd_loop_uv_offset);

View File

@@ -36,7 +36,7 @@ PyDoc_STRVAR(FEdgeSharp_doc,
"\n"
"Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial\n"
"edge of the input mesh. It can be a silhouette, a crease or a border.\n"
"If it is a crease edge, then it is borded by two faces of the mesh.\n"
"If it is a crease edge, then it is bordered by two faces of the mesh.\n"
"Face a lies on its right whereas Face b lies on its left. If it is a\n"
"border edge, then it doesn't have any face on its right, and thus Face\n"
"a is None.\n"

View File

@@ -34,7 +34,7 @@ static char ContourUP1D___doc__[] =
".. method:: __call__(inter)\n"
"\n"
" Returns true if the Interface1D is a contour. An Interface1D is a\n"
" contour if it is borded by a different shape on each of its sides.\n"
" contour if it is bordered by a different shape on each of its sides.\n"
"\n"
" :arg inter: An Interface1D object.\n"
" :type inter: :class:`freestyle.types.Interface1D`\n"

View File

@@ -34,7 +34,7 @@ static char ExternalContourUP1D___doc__[] =
".. method:: __call__(inter)\n"
"\n"
" Returns true if the Interface1D is an external contour. An\n"
" Interface1D is an external contour if it is borded by no shape on\n"
" Interface1D is an external contour if it is bordered by no shape on\n"
" one of its sides.\n"
"\n"
" :arg inter: An Interface1D object.\n"

View File

@@ -218,7 +218,7 @@ class QuantitativeInvisibilityUP1D : public UnaryPredicate1D {
// ContourUP1D
/*! Returns true if the Interface1D is a contour.
* An Interface1D is a contour if it is borded by a different shape on each of its sides.
* An Interface1D is a contour if it is bordered by a different shape on each of its sides.
*/
class ContourUP1D : public UnaryPredicate1D {
private:
@@ -253,7 +253,7 @@ class ContourUP1D : public UnaryPredicate1D {
// ExternalContourUP1D
/*! Returns true if the Interface1D is an external contour.
* An Interface1D is an external contour if it is borded by no shape on one of its sides.
* An Interface1D is an external contour if it is bordered by no shape on one of its sides.
*/
class ExternalContourUP1D : public UnaryPredicate1D {
private:

View File

@@ -1139,7 +1139,7 @@ Interface0DIterator FEdge::pointsEnd(float /*t*/)
}
/*! Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial edge of the input mesh.
* It can be a silhouette, a crease or a border. If it is a crease edge, then it is borded
* It can be a silhouette, a crease or a border. If it is a crease edge, then it is bordered
* by two faces of the mesh. Face a lies on its right whereas Face b lies on its left.
* If it is a border edge, then it doesn't have any face on its right, and thus Face a = 0.
*/

View File

@@ -66,7 +66,7 @@ void TransformWriter::add_node_transform_ob(COLLADASW::Node &node,
bool limit_precision = export_settings.get_limit_precision();
/* Export the local Matrix (relative to the object parent,
* be it an object, bone or vertex(-tices)). */
* be it an object, bone or vertices (one or more)). */
Matrix f_obmat;
BKE_object_matrix_local_get(ob, f_obmat);

View File

@@ -78,7 +78,7 @@ class USDAbstractWriter : public AbstractHierarchyWriter {
pxr::UsdGeomImageable &usd_geometry);
/* Turn `prim` into an instance referencing `context.original_export_path`.
* Return true when the instancing was succesful, false otherwise. */
* Return true when the instancing was successful, false otherwise. */
virtual bool mark_as_instance(const HierarchyContext &context, const pxr::UsdPrim &prim);
};