mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-16 06:11:15 +00:00
[qfcc] Use a better name for a var
Looking at the code afterwards, I realized flips would be a far better name than mask. Not sure what I was thinking when I wrote the code.
This commit is contained in:
parent
e9cea29cae
commit
946211bca2
1 changed files with 2 additions and 2 deletions
|
@ -2792,8 +2792,8 @@ hodge_dual (const expr_t *e, bool undual)
|
|||
auto dual_group = &layout->groups[dual_ind];
|
||||
auto dual_type = algebra_mvec_type (algebra, dual_group->group_mask);
|
||||
auto dual = cast_expr (dual_type, a[i]);
|
||||
pr_uint_t mask = algebra_count_flips (algebra, blade.mask, d_mask);
|
||||
if (mask & 1) {
|
||||
pr_uint_t flips = algebra_count_flips (algebra, blade.mask, d_mask);
|
||||
if (flips & 1) {
|
||||
dual = neg_expr (dual);
|
||||
} else {
|
||||
dual = dual;
|
||||
|
|
Loading…
Reference in a new issue