Cleanup: clang-format, spelling
This commit is contained in:
parent
de6c6501f0
commit
55bffa82da
|
@ -1893,7 +1893,7 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
|||
case WM_DISPLAYCHANGE: {
|
||||
GHOST_Wintab *wt = window->getWintab();
|
||||
if (wt) {
|
||||
wt->remapCoordinates();
|
||||
wt->remapCoordinates();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -82,18 +82,18 @@ typedef struct BlendFileData {
|
|||
} BlendFileData;
|
||||
|
||||
struct BlendFileReadParams {
|
||||
uint skip_flags : 3; /* eBLOReadSkip */
|
||||
uint skip_flags : 3; /* #eBLOReadSkip */
|
||||
uint is_startup : 1;
|
||||
|
||||
/** Whether we are reading the memfile for an undo or a redo. */
|
||||
int undo_direction; /* eUndoStepDir */
|
||||
int undo_direction; /* #eUndoStepDir */
|
||||
};
|
||||
|
||||
typedef struct BlendFileReadReport {
|
||||
/* General reports handling. */
|
||||
struct ReportList *reports;
|
||||
|
||||
/* Timing informations .*/
|
||||
/* Timing information. */
|
||||
struct {
|
||||
double whole;
|
||||
double libraries;
|
||||
|
@ -102,7 +102,7 @@ typedef struct BlendFileReadReport {
|
|||
double lib_overrides_recursive_resync;
|
||||
} duration;
|
||||
|
||||
/* Count informations. */
|
||||
/* Count information. */
|
||||
struct {
|
||||
/* Some numbers of IDs that ended up in a specific state, or required some specific process
|
||||
* during this file read. */
|
||||
|
|
|
@ -1921,7 +1921,7 @@ static bool lineart_geometry_check_visible(double (*model_view_proj)[4], Object
|
|||
}
|
||||
|
||||
bool cond[6] = {true, true, true, true, true, true};
|
||||
/* Beause for a point to be inside clip space, it must satisfy -Wc <= XYCc <= Wc, here if all
|
||||
/* Because for a point to be inside clip space, it must satisfy `-Wc <= XYCc <= Wc`, here if all
|
||||
* verts falls to the same side of the clip space border, we know it's outside view. */
|
||||
for (int i = 0; i < 8; i++) {
|
||||
cond[0] &= (co[i][0] < -co[i][3]);
|
||||
|
|
Loading…
Reference in New Issue