mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 07:32:02 +00:00
Include test for 2d vector expressions
This commit is contained in:
parent
c727f6a130
commit
c3fa78ef4d
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ main ()
|
||||||
printf("t3(5) = %v\n", v);
|
printf("t3(5) = %v\n", v);
|
||||||
ret |= 1;
|
ret |= 1;
|
||||||
}
|
}
|
||||||
v = [x, y, 0] / 2;
|
v = [x, y] / 2;
|
||||||
if (v != [2, 2.5, 0]) {
|
if (v != [2, 2.5]) {
|
||||||
printf("v = %v\n", v);
|
printf("v = %v\n", v);
|
||||||
ret |= 1;
|
ret |= 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue