-- Making some calculations based on configurations


local waitBetweenSegments = 0.05
local segmentsPerSecond = 1/waitBetweenSegments
local numSegments = range / bulletSpeed * segmentsPerSecond
local segmentLength = range / numSegments
local dropPerSegment = segmentLength * bulletDrop / 100
local dropAngle = -math.tan(dropPerSegment / segmentLength)
