Banjo API 0.0.1
C99 game development API
|
Go to the source code of this file.
Macros | |
#define | BJ_GRAVITATIONAL_CONSTANT_SI BJ_F(6.67430e-11) |
Functions | |
static bj_real | bj_galileo_position (bj_real position, bj_real velocity, bj_real acceleration, bj_real time) |
static bj_real | bj_galileo_velocity (bj_real velocity, bj_real acceleration, bj_real time) |
static bj_real | bj_newton_gravitation (bj_real m1, bj_real m2, bj_real r, bj_real g) |
static bj_real | bj_newton_plummer_gravitation (bj_real m1, bj_real m2, bj_real r, bj_real g, bj_real eps) |
Physics helpers (SI units, but dimensionally consistent with any unit system).