Commit 5cb9a2c
committed
NextWeek: fix bad code in Perlin noise() function
The original code for the first version of the Perlin noise() function
in _The Next Week_ was incorrect. This returns the code to the original
behavior, but using static_cast instead of the original C-style cast.
Resolves #3961 parent 00d0ab0 commit 5cb9a2c
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1099 | 1101 | | |
1100 | 1102 | | |
1101 | 1103 | | |
| |||
0 commit comments