File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ I went looking around in others' solutions until I found a good one that is easy
16
16
to follow.
17
17
18
18
The idea is that we try to guess the speed of our stone (a for loop), then supposing
19
- that it is the right velocity we create a new reference frame that moves with
19
+ that it is the right velocity create a new reference frame that moves with
20
20
that speed. The stone doesn't move in this frame, it has some fixed coordinates
21
21
somewhere. Now transform each particle into this reference frame as well. Since the
22
22
stone is not moving, if we properly guessed the speed, we find that each particle
23
- meets the stone's line at the _ same_ point. This must be the stone's location.
23
+ meets at the _ same_ point. This must be the stone's location.
24
24
25
25
We can reuse code from Part 1, just need to project everything to the XY
26
26
plane first to compute the stone's ` (x,y) ` position, then do the same in the XZ
You can’t perform that action at this time.
0 commit comments