kaushal sawariya
c39d84b50b
chore: make acceleration due to gravity a constexpr ( #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-constant
2025-08-19 00:13:35 +00:00
Divyansh-jain2
c56496d9f2
chore: use M_PI instead of PI parameter ( #2747 )
...
* changed PI variable value from 3.14 to M_PI
* changed PI variable to M_PI
* changed the degree_to_radians function
* comments removed
* docs: remove pi param
* fix: typo in function name
* changed degree to degrees
---------
Co-authored-by: [Divyansh Jain] <[jdivyansh51@gmail.com ]>
Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com >
2024-10-04 22:33:44 +05:30
David Leal
1a6ca12456
feat: add physics to CMake lists ( #2481 )
2023-06-16 15:17:34 -06:00
Focus
0fea073413
feat: added physics directory and ground to ground projectile motion algorithm ( #2279 )
...
* feat: added physics folder, ground to ground projectile motion calculations
* feat: added max height function
* fix: bug in angle calculations
* test: added test cases
* docs: added comments to test case variables
* docs: added comments to calculations
* fix: changed floats to doubles
* updating DIRECTORY.md
* Update physics/ground_to_ground_projectile_motion.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* chore: add missing namespace
* rerun checks
Co-authored-by: David <Panquesito7@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2022-10-26 03:01:34 +05:30