C# Class Dwarrowdelf.ShadowCastRecursiveStrict

Show file Open project: tomba/dwarrowdelf

Public Methods

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

Private Methods

Method Description
Calculate ( SCRData &data, int startColumn, int octant, double startSlope, double endSlope, int id ) : void
OctantTranslate ( IntVector2 p, int octant ) : IntVector2

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