mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 12:10:48 +00:00
Whitespace.
This commit is contained in:
parent
2e97cfddac
commit
b69e372589
1 changed files with 2 additions and 2 deletions
|
@ -60,11 +60,11 @@ noise_diamondsquare (unsigned char *noise, unsigned int size,
|
|||
|
||||
#define n(x, y) noisebuf[((y) & size1) * size + ((x) & size1)]
|
||||
|
||||
for (sizepower = 0;(1 << sizepower) < size;sizepower++);
|
||||
for (sizepower = 0; (1 << sizepower) < size; sizepower++);
|
||||
if (size != (1 << sizepower))
|
||||
Sys_Error("fractalnoise: size must be power of 2\n");
|
||||
|
||||
for (gridpower = 0;(1 << gridpower) < startgrid;gridpower++);
|
||||
for (gridpower = 0; (1 << gridpower) < startgrid; gridpower++);
|
||||
if (startgrid != (1 << gridpower))
|
||||
Sys_Error("fractalnoise: grid must be power of 2\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue