C# 클래스 DivineRightGame.Managers.HelperFunctions.Interpolation

Various methods of interpolation. Different methods can be more appropriate for certain applications than others
파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
InverseDistanceWeighting ( MapBlock block, double p, int worldSize ) : int
NearestNeighbour ( int worldSize, MapBlock block ) : int

메소드 상세

InverseDistanceWeighting() 공개 정적인 메소드

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

NearestNeighbour() 공개 정적인 메소드

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