C# Class Dwarrowdelf.ShadowCastRecursive

Afficher le fichier Open project: tomba/dwarrowdelf

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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
Résultat void