mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[qfcc] Show algebra signature for bad basis blades
Clear error messages are always more helpful than opaque ones.
This commit is contained in:
parent
c7d6e80d69
commit
5aea74de7e
1 changed files with 2 additions and 1 deletions
|
@ -517,7 +517,8 @@ algebra_blade_value (algebra_t *alg, const char *name)
|
|||
uint32_t c = indices[i] - '0';
|
||||
c -= alg->zero != 1;
|
||||
if (c >= dimension) {
|
||||
error (0, "basis %c not in algebra %d", indices[i], c);
|
||||
error (0, "basis %c not in algebra(%d,%d,%d)", indices[i],
|
||||
alg->plus, alg->minus, alg->zero);
|
||||
continue;
|
||||
}
|
||||
uint32_t mask = 1u << c;
|
||||
|
|
Loading…
Reference in a new issue