(float[] spot, float time)
| 76 | } |
| 77 | |
| 78 | void Add(float[] spot, float time) { |
| 79 | float[] temp = { 0, 0, 0 }; |
| 80 | |
| 81 | if (!trail_active) |
| 82 | return; |
| 83 | |
| 84 | Math3D.VectorCopy(spot, trail[trail_head].s.origin); |
| 85 | |
| 86 | trail[trail_head].timestamp = time; |
| 87 | |
| 88 | Math3D.VectorSubtract(spot, trail[PREV(trail_head)].s.origin, temp); |
| 89 | trail[trail_head].s.angles[1] = Math3D.vectoyaw(temp); |
| 90 | |
| 91 | trail_head = NEXT(trail_head); |
| 92 | } |
| 93 | |
| 94 | SubgameEntity PickFirst(SubgameEntity self) { |
| 95 |
no test coverage detected