diff options
-rw-r--r-- | src/physics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/physics.c b/src/physics.c index 0946b06..38f9c88 100644 --- a/src/physics.c +++ b/src/physics.c @@ -18,7 +18,7 @@ static void phy_calc_fc(float *fc, size_t *x, size_t *widths, else continue; - fc[i] = EPS_ZERO / (2 * dt) * sin(0.5f * M_PI * f); + fc[i] = EPS_ZERO / (2 * dt) * pow(f, 3); } } |