vasya/pg-ballistics

Ballistics PHP Library (for calculating range cards)

Installs: 10 363

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vasya/pg-ballistics

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

This package is auto-updated.

Last update: 2025-12-29 03:53: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