vasya/pg-ballistics

Ballistics PHP Library (for calculating range cards)

dev-master 2022-04-29 08:58 UTC

This package is auto-updated.

Last update: 2025-06-29 02:07:44 UTC


README

Install

composer require vasya/pg-ballistics

Usage

use ballistics\Ballistics;

$ballistics = new Ballistics();
$ballistics->getRangeData($weather, $target, $firearm, $round)

Functions

getRangeData($weather, $target, $firearm, $round) - Returns an array of 'Range' objects each of which represents a row on the ballistics table