Clenaup: comments places awkwardly before code

This commit is contained in:
Campbell Barton 2023-01-16 13:25:05 +11:00
parent 33c30af742
commit eeb6a3dc05
3 changed files with 6 additions and 3 deletions

View File

@ -2030,7 +2030,8 @@ static Array<Face *> polyfill_triangulate_poly(Face *f, IMeshArena *arena)
}
return Array<Face *>{f0, f1};
}
/* Project along negative face normal so (x,y) can be used in 2d. */ float axis_mat[3][3];
/* Project along negative face normal so (x,y) can be used in 2d. */
float axis_mat[3][3];
float(*projverts)[2];
uint(*tris)[3];
const int totfilltri = flen - 2;

View File

@ -978,7 +978,8 @@ static void draw_sequence_extensions_overlay(
immUniformColor4ubv(col);
immRectf(pos, x2, y2 + pixely, strip_content_end, y2 + SEQ_STRIP_OFSBOTTOM);
/* Outline. */ immUniformColor3ubv(blend_col);
/* Outline. */
immUniformColor3ubv(blend_col);
imm_draw_box_wire_2d(pos, x2, y2 + pixely, strip_content_end, y2 + SEQ_STRIP_OFSBOTTOM);
}
GPU_blend(GPU_BLEND_NONE);

View File

@ -231,7 +231,8 @@ struct DisplaceGridOp {
openvdb::tools::foreach (temp_grid->beginValueOn(),
displace_op,
true,
/* Disable sharing of the operator. */ false);
/* Disable sharing of the operator. */
false);
/* It is likely that we produced too many active cells. Those are removed here, to avoid
* slowing down subsequent operations. */