Commit 8bbd090
authored
Overlapping condition changed (TheAlgorithms#7314)
Overlapping happens not when centers of circular bodies are in the same point, but when the distance between them is smaller than the sum of their radii.1 parent 5e06b15 commit 8bbd090
File tree
1 file changed
+1
-1
lines changed- src/main/java/com/thealgorithms/physics
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments