feat: bodies attract
This commit is contained in:
13
include/utils.hpp
Normal file
13
include/utils.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#include <utility>
|
||||
|
||||
// constants
|
||||
|
||||
const long double EARTH_MASS = 5.972e24;
|
||||
const long double G = 6.67430e-11L;
|
||||
|
||||
std::pair<int, int> get_random_position(int x_min, int x_max, int y_min, int y_max);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user