mercator  0.4.0
A terrain generation library for the Worldforge system.
RandCache::Ordering Struct Referenceabstract

Interface to define the ordering of the random number cache. More...

#include <RandCache.h>

Inheritance diagram for RandCache::Ordering:

Public Member Functions

virtual size_type operator() (int x, int y)=0
 Determine the order. More...
 

Detailed Description

Interface to define the ordering of the random number cache.

Definition at line 28 of file RandCache.h.

Member Function Documentation

◆ operator()()

virtual size_type RandCache::Ordering::operator() ( int  x,
int  y 
)
pure virtual

Determine the order.

Implemented in SpiralOrdering, and ZeroSpiralOrdering.


The documentation for this struct was generated from the following file: