Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static float quad(float t, float p0, float p1, float p2) {
}

public static float randomize(float value, Random random) {
float perc = between((random.nextInt(100) + 70) / 100, 0.7f, 1.3f);
float perc = between((random.nextInt(100) + 70) / 100f, 0.7f, 1.3f);
return perc * value;
}

Expand Down