mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- deleted deprecated zrand variant
This commit is contained in:
parent
0c8a76dc9c
commit
5a045a6232
1 changed files with 0 additions and 7 deletions
|
@ -252,13 +252,6 @@ inline double krandf(double span)
|
|||
return (krand() & 0x7fff) * span / 32767;
|
||||
}
|
||||
|
||||
[[deprecated]]
|
||||
inline double zrand(int spread, int ofs)
|
||||
{
|
||||
int r = krand() % (spread << 8);
|
||||
return r * zmaptoworld;
|
||||
}
|
||||
|
||||
inline double zrand(double spread)
|
||||
{
|
||||
int r = krand() % FloatToFixed<8>(spread);
|
||||
|
|
Loading…
Reference in a new issue