-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_loop.h
More file actions
executable file
·28 lines (18 loc) · 864 Bytes
/
test_loop.h
File metadata and controls
executable file
·28 lines (18 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
for (shotit=(*firstlist).begin(); shotit!=(*firstlist).end(); shotit++)
{
for (hitit=(*secondlist).begin(); hitit!=(*secondlist).end(); hitit++)
{
Cor a= sumcor (&(((*shotit)->root)->pos),&((*shotit)->acc));
Cor b= sumcor (&(((*hitit)->root)->pos),&((*hitit)->acc));
Cor sa=((*shotit)->speed);
Cor sb=((*hitit)->speed);
/* if ((*shotit)->time>(*hitit)->time)
{
Cor b=(((*shotit)->root)->pos)+((*shotit)->acc);
Cor a=(((*hitit)->root)->pos)+((*hitit)->acc);
Cor sb=((*shotit)->speed);
Cor sa=((*hitit)->speed);
} */
#include "test_shapes.h"
}
}