Commit c39d84b
authored
chore: make acceleration due to gravity a constexpr (TheAlgorithms#2982)
* Added constexpr GRAVITY constant (9.80665) as per guidelines
* Merge branch 'master' into feature/add-gravity-constant
* Update physics/ground_to_ground_projectile_motion.cpp
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
* Merge branch 'master' into feature/add-gravity-constant1 parent c917fc4 commit c39d84b
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | | - | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
0 commit comments