dart_bclibc 0.1.0
dart_bclibc: ^0.1.0 copied to clipboard
Dart FFI bindings for the bclibc ballistics engine. Provides a thin, zero-copy Dart wrapper around libbclibc_ffi with full trajectory integration, zero-finding, and apex/max-range solvers.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_bclibcThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dart_bclibc: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dart_bclibc/bclibc.dart';
import 'package:dart_bclibc/ffi/bclibc_bindings.g.dart';
import 'package:dart_bclibc/ffi/bclibc_ffi.dart';
import 'package:dart_bclibc/unit.dart';