code cleanup: spelling
This commit is contained in:
@@ -1864,7 +1864,7 @@ static double vec_magnitude_nosqrt(float *data, int size)
|
||||
|
||||
|
||||
/*------------------------tp_richcmpr
|
||||
* returns -1 execption, 0 false, 1 true */
|
||||
* returns -1 exception, 0 false, 1 true */
|
||||
static PyObject *Vector_richcmpr(PyObject *objectA, PyObject *objectB, int comparison_type)
|
||||
{
|
||||
VectorObject *vecA = NULL, *vecB = NULL;
|
||||
@@ -2908,7 +2908,7 @@ PyObject *Vector_CreatePyObject(float *vec, const int size, const int type, PyTy
|
||||
}
|
||||
else { /* new empty */
|
||||
fill_vn_fl(self->vec, size, 0.0f);
|
||||
if (size == 4) { /* do the homogenous thing */
|
||||
if (size == 4) { /* do the homogeneous thing */
|
||||
self->vec[3] = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user