Cleanup: fix some comments in the transform code

This commit is contained in:
Germano Cavalcante 2021-11-12 15:53:36 -03:00
parent 30f9034182
commit 5941c39fbf
2 changed files with 3 additions and 3 deletions

View File

@ -317,9 +317,9 @@ typedef struct TransSnap {
/* Snapped Element Type (currently for objects only). */
char snapElem;
/** snapping from this point (in global-space). */
float snapPoint[3];
/** to this point (in global-space). */
float snapTarget[3];
/** to this point (in global-space). */
float snapPoint[3];
float snapTargetGrid[3];
float snapNormal[3];
char snapNodeBorder;

View File

@ -483,7 +483,7 @@ void applySnapping(TransInfo *t, float *vec)
}
if (t->tsnap.project && t->tsnap.mode == SCE_SNAP_MODE_FACE) {
/* The snap has already been resolved for each transdata. */
/* A similar snap will be applied to each transdata in `applyProject`. */
return;
}