-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use normal distribution to generate random height in new character sc…
…reen (#49270) * fix random height * use Character::randomize_height * use clamp() for limit the randomness, as @pehamm suggested * astyle fix * use std::round instead of round Co-authored-by: pehamm <[email protected]> * learning c++ in 21 days Co-authored-by: John Bytheway <[email protected]> * int instead of double * use one distribution * changed normal_roll to 168.35 mean, 15.5 sd Co-authored-by: pehamm <[email protected]> Co-authored-by: John Bytheway <[email protected]>
- Loading branch information
1 parent
6e829ef
commit efcbdcc
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters