C# Class DivineRightGame.Managers.HelperFunctions.Interpolation

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

Méthodes publiques

Méthode Description
InverseDistanceWeighting ( MapBlock block, double p, int worldSize ) : int
NearestNeighbour ( int worldSize, MapBlock block ) : int

Method Details

InverseDistanceWeighting() public static méthode

public static InverseDistanceWeighting ( MapBlock block, double p, int worldSize ) : int
block DRObjects.MapBlock
p double
worldSize int
Résultat int

NearestNeighbour() public static méthode

public static NearestNeighbour ( int worldSize, MapBlock block ) : int
worldSize int
block DRObjects.MapBlock
Résultat int