C# Class DivineRightGame.Managers.HelperFunctions.Interpolation

Various methods of interpolation. Different methods can be more appropriate for certain applications than others
Mostrar archivo Open project: Haedrian/Divine-Right

Public Methods

Method Description
InverseDistanceWeighting ( MapBlock block, double p, int worldSize ) : int
NearestNeighbour ( int worldSize, MapBlock block ) : int

Method Details

InverseDistanceWeighting() public static method

public static InverseDistanceWeighting ( MapBlock block, double p, int worldSize ) : int
block DRObjects.MapBlock
p double
worldSize int
return int

NearestNeighbour() public static method

public static NearestNeighbour ( int worldSize, MapBlock block ) : int
worldSize int
block DRObjects.MapBlock
return int