mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +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);
|
||||
ret |= 1;
|
||||
}
|
||||
v = [x, y, 0] / 2;
|
||||
if (v != [2, 2.5, 0]) {
|
||||
v = [x, y] / 2;
|
||||
if (v != [2, 2.5]) {
|
||||
printf("v = %v\n", v);
|
||||
ret |= 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue