Cleanup: spelling
This commit is contained in:
@@ -1015,7 +1015,7 @@ static PyObject *Quaternion_matmul(PyObject *q1, PyObject *q2)
|
||||
return NULL;
|
||||
}
|
||||
/*------------------------obj @= obj------------------------------
|
||||
* inplace quaternion multiplication */
|
||||
* in-place quaternion multiplication */
|
||||
static PyObject *Quaternion_imatmul(PyObject *q1, PyObject *q2)
|
||||
{
|
||||
float quat[QUAT_SIZE];
|
||||
|
||||
@@ -786,10 +786,8 @@ static PyObject *Vector_to_track_quat(VectorObject *self, PyObject *args)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* flip vector around, since vectoquat expect a vector from target to tracking object
|
||||
* and the python function expects the inverse (a vector to the target).
|
||||
*/
|
||||
/* Flip vector around, since #vec_to_quat expect a vector from target to tracking object
|
||||
* and the python function expects the inverse (a vector to the target). */
|
||||
negate_v3_v3(vec, self->vec);
|
||||
|
||||
vec_to_quat(quat, vec, track, up);
|
||||
|
||||
@@ -1213,7 +1213,7 @@ static PyObject *M_Geometry_tessellate_polygon(PyObject *UNUSED(self), PyObject
|
||||
PyObject *polyLine, *polyVec;
|
||||
int i, len_polylines, len_polypoints, ls_error = 0;
|
||||
|
||||
/* display listbase */
|
||||
/* Display #ListBase. */
|
||||
ListBase dispbase = {NULL, NULL};
|
||||
DispList *dl;
|
||||
float *fp; /*pointer to the array of malloced dl->verts to set the points from the vectors */
|
||||
@@ -1299,7 +1299,7 @@ static PyObject *M_Geometry_tessellate_polygon(PyObject *UNUSED(self), PyObject
|
||||
BKE_displist_fill(&dispbase, &dispbase, NULL, false);
|
||||
|
||||
/* The faces are stored in a new DisplayList
|
||||
* that's added to the head of the listbase */
|
||||
* that's added to the head of the #ListBase. */
|
||||
dl = dispbase.first;
|
||||
|
||||
tri_list = PyList_New(dl->parts);
|
||||
|
||||
Reference in New Issue
Block a user