NAME
Acme::MITHALDU::XSGrabBag - a bunch of XS math functions i'm not sure where to shove yet
VERSION
version 1.161310
DESCRIPTION
This module is an experimental space for me to work with XS functions meant for Microidium.
FUNCTIONS
my $hash = mix( $a, $b, $c )
Takes 3 x 32 bits of data as integers, mixes them, combining all 96 bits of input to generate a pseudo-random hash returned as a 32 bit integer.
Original implementation by Bob Jenkins.
my $deg = deg2rad( $rad )
32 bit degree to radian conversion, dirty, but fast.
my $rad = rad2deg( $deg )
32 bit radian to degree conversion, dirty, but fast.
my $dot = dot2_product( $xa, $ya, $xb, $yb )
Simple dot product calculation for 2d vectors.
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at http://rt.cpan.org/Public/Dist/Display.html?Name=Acme-MITHALDU-XSGrabBag. You will be notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/wchristian/Acme-MITHALDU-XSGrabBag
git clone https://github.com/wchristian/Acme-MITHALDU-XSGrabBag.git
AUTHOR
Christian Walde <walde.christian@gmail.com>
COPYRIGHT AND LICENSE
Christian Walde has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.
Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.