Skip to content

Commit

Permalink
aimless wra balancing
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 29, 2020
1 parent 53601b5 commit e666c86
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ struct WideRangeAnchorMod
float window_param = 2.F;

float min_mod = 1.F;
float max_mod = 1.075F;
float max_mod = 1.05F;
float base = 1.F;

float diff_min = 4.F;
float diff_max = 12.F;
float diff_max = 8.F;
float scaler = 0.1F;

const vector<pair<std::string, float*>> _params{
Expand Down Expand Up @@ -58,7 +58,7 @@ struct WideRangeAnchorMod
// setup should be run after loading params from disk
window =
CalcClamp(static_cast<int>(window_param), 1, max_moving_window_size);
divisor = static_cast<int>(diff_max) - static_cast<int>(diff_min);
divisor = static_cast<float>(static_cast<int>(diff_max) - static_cast<int>(diff_min));

// /0 lul
if (divisor < 0.1F)
Expand Down

0 comments on commit e666c86

Please sign in to comment.