Cleanup: style/spelling
This commit is contained in:
@@ -3216,8 +3216,8 @@ void BKE_mesh_polygon_flip(MPoly *mpoly, MLoop *mloop, CustomData *ldata)
|
||||
|
||||
/* Note that we keep same start vertex for flipped face. */
|
||||
|
||||
/* We also have to update loops' edge
|
||||
* (they ell get ther original 'other edge', that is, the original edge of their original previous loop)... */
|
||||
/* We also have to update loops edge
|
||||
* (they will get their original 'other edge', that is, the original edge of their original previous loop)... */
|
||||
unsigned int prev_edge_index = mloop[loopstart].e;
|
||||
mloop[loopstart].e = mloop[loopend].e;
|
||||
|
||||
|
||||
@@ -1441,7 +1441,7 @@ bool BLI_gset_haskey(GSet *gs, const void *key)
|
||||
*
|
||||
* \param r_key: The removed key.
|
||||
* \param state: Used for efficient removal.
|
||||
* \return true if there was somethjing to pop, false if gset was already empty.
|
||||
* \return true if there was something to pop, false if gset was already empty.
|
||||
*/
|
||||
bool BLI_gset_pop(
|
||||
GSet *gs, GSetIterState *state,
|
||||
|
||||
@@ -173,7 +173,7 @@ static void bm_loop_customdata_merge(
|
||||
l_b_inner_inset = BM_edge_other_loop(e_b, l_b_inner);
|
||||
BLI_assert(l_a_inner_inset->v == l_b_inner_inset->v);
|
||||
|
||||
/* check if ther is no chance of diversion */
|
||||
/* check if there is no chance of diversion */
|
||||
if (l_a_inner_inset->f == l_b_inner_inset->f) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3191,8 +3191,8 @@ void do_sky_tex(
|
||||
}
|
||||
break;
|
||||
case TEXCO_EQUIRECTMAP:
|
||||
tempvec[0]= -atan2f(lo[2], lo[0]) / M_PI;
|
||||
tempvec[1]= atan2f(lo[1], hypot(lo[0], lo[2])) / M_PI_2;
|
||||
tempvec[0]= -atan2f(lo[2], lo[0]) / (float)M_PI;
|
||||
tempvec[1]= atan2f(lo[1], hypot(lo[0], lo[2])) / (float)M_PI_2;
|
||||
tempvec[2]= 0.0f;
|
||||
co= tempvec;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user