C# Class Dwarrowdelf.RayCastLerp

显示文件 Open project: tomba/dwarrowdelf

Public Methods

Method Description
Calculate ( IntVector2 viewerLocation, int visionRange, Grid2D visibilityMap, IntSize2 mapSize, bool>.Func blockerDelegate ) : void
Calculate3 ( IntVector3 viewerLocation, int visionRange, VisionMap visibilityMap, IntSize3 mapSize, bool>.Func blockerDelegate ) : void

Private Methods

Method Description
FindLos ( IntVector2 viewerLocation, IntVector2 dst, bool>.Func blockerDelegate ) : bool
FindLos3 ( IntVector3 viewerLocation, IntVector3 dst, bool>.Func blockerDelegate ) : bool

Method Details

Calculate() public static method

public static Calculate ( IntVector2 viewerLocation, int visionRange, Grid2D visibilityMap, IntSize2 mapSize, bool>.Func blockerDelegate ) : void
viewerLocation IntVector2
visionRange int
visibilityMap Grid2D
mapSize IntSize2
blockerDelegate bool>.Func
return void

Calculate3() public static method

public static Calculate3 ( IntVector3 viewerLocation, int visionRange, VisionMap visibilityMap, IntSize3 mapSize, bool>.Func blockerDelegate ) : void
viewerLocation IntVector3
visionRange int
visibilityMap VisionMap
mapSize IntSize3
blockerDelegate bool>.Func
return void