mercator 0.4.0
A terrain generation library for the Worldforge system.
|
A spiral around x,y. More...
#include <RandCache.h>
Public Member Functions | |
SpiralOrdering (int x, int y) | |
Constructor. More... | |
RandCache::size_type | operator() (int x, int y) override |
Determine the order. More... | |
A spiral around x,y.
Definition at line 99 of file RandCache.h.
|
inline |
Constructor.
x | centre x coordinate of the spiral. |
y | centre y coordinate of the spiral. |
Definition at line 111 of file RandCache.h.
|
inlineoverridevirtual |
Determine the order.
Reimplemented from ZeroSpiralOrdering.
Definition at line 112 of file RandCache.h.
References ZeroSpiralOrdering::operator()().