odielib::math - The Odielib Accellerated Math Module
The math package is included with odielib. It contains a series of C-accellerated routines for matrix math, tailored for graphics and basic (i.e 3 dimensions and time) physics.
Accepts N 3x3 affine matrices, and returns a 3x3 matrix which is the combination of them all.
Computes a 2d affine rotation (a 3x3 matrix) from an angle theta.
Valid units r - radians (2pi = one turn), g - gradian (400 = one turn), d - degree (360 = 1 turn)
Computes a 2d affine rotation (a 3x3 matrix) from a directional normal, given my %of travel in X and Y.
Sean Woods
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tao of the Odielib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
Mathematics
Copyright © 2000-2014 Sean Woods <yoda@etoyoc.com>