grav2accel

fixed grav2accel(fixed sv_gravity)

Description

Converts sv_gravity units to acceleration (mapunits^2 per tic).

800 sv_gravity units = 1 mapunit^2 per tic

Examples

grav2accel(800.0) -> 1.0;
grav2accel(0) -> 0.0;
grav2accel(1600.0) -> 2.0;