SectorRange.sectorInRange

Checks if sector is within range

struct SectorRange
static pure nothrow
bool
sectorInRange
(
const ushort sector
,
const ushort from_sector
,
const ushort to_sector
)

Parameters

sector ushort

sector number

from_sector ushort

sector start angle

to_sector ushort

sector end angle

Return Value

Type: bool

true if the sector is within the angle-span