#include "rigidbody.h"
Classes | |
struct | Derivative |
Macros | |
#define | ACCEL (0.25f) |
#define | AIR_ACCEL (0.5f) |
#define | MAX_SPEED 3.0f |
#define | MAX_AIR_SPEED 5.5f |
#define | DECELERATION_RATE 0.95f |
#define | SND_GRENADE_IMPACT 244 |
Functions | |
void | PM_Accelerate (const vec3 &wishdir, float wishspeed, float accel, Entity *ent) |
vec3 | rk4_acceleration (const vec3 &pos, const vec3 &vel, float t) |
Derivative | rk4_evaluate (const vec3 &pos, const vec3 &vel, float t) |
Derivative | rk4_evaluate (const vec3 &pos, const vec3 &vel, float t, float dt, const Derivative &d) |
void | rk4_integrate (vec3 &pos, vec3 &vel, float t, float dt) |
#define ACCEL (0.25f) |
#define AIR_ACCEL (0.5f) |
#define DECELERATION_RATE 0.95f |
#define MAX_AIR_SPEED 5.5f |
#define MAX_SPEED 3.0f |
#define SND_GRENADE_IMPACT 244 |
Derivative rk4_evaluate | ( | const vec3 & | pos, |
const vec3 & | vel, | ||
float | t | ||
) |
Derivative rk4_evaluate | ( | const vec3 & | pos, |
const vec3 & | vel, | ||
float | t, | ||
float | dt, | ||
const Derivative & | d | ||
) |