reckoner

Small library for math and 2D geometry.


Keywords
game
License
MIT
Install
haxelib install reckoner 0.1.0

Documentation

reckoner

Small library for math and 2D geometry.

Features

Random / RandomCore

Pseudorandom number generator.

Uses either std.Math or reckoner.Xorshift (see "Compiler Flags" below).

Xorshift

Xorshift pseudorandom number generator (currently only the 32-bit version).

Geometry

Constants and functions for geometry, such as angles and trigonometric calculations.

TmpVec2D / TmpVec2DPolar

2D vector classes with inline constructor.

Numeric

Miscellaneous constants and functions related to numeric values.

Compilation Flags

flag description
reckoner_use_xorshift32 Uses Xorshift in Random/RandomCore.
reckoner_epsilon Changes value of Numeric.EPSILON by -D reckoner_epsilon=(any float)

Dependencies

See also: FAL Haxe libraries