mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
[qfcc] Rearrange vecexpr.r for easier debugging
Putting the most likely function to have problems at the top reduces break-point shenanigans.
This commit is contained in:
parent
d9d321f65b
commit
695b3ba0d0
1 changed files with 10 additions and 6 deletions
|
@ -1,4 +1,14 @@
|
|||
#include "test-harness.h"
|
||||
|
||||
vector t1();
|
||||
vector t2(float x);
|
||||
|
||||
vector
|
||||
t3(float x)
|
||||
{
|
||||
return [x, t2(9).z, x] * 2;
|
||||
}
|
||||
|
||||
vector
|
||||
t1()
|
||||
{
|
||||
|
@ -11,12 +21,6 @@ t2(float x)
|
|||
return [x, x, x];
|
||||
}
|
||||
|
||||
vector
|
||||
t3(float x)
|
||||
{
|
||||
return [x, t2(9).z, x] * 2;
|
||||
}
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue