[ Odielib Home | Main Table Of Contents | Table Of Contents | Keyword Index ]

odielib::math(n) 2.0 odielib "The Odielib Accellerated Math Module"

Name

odielib::math - The Odielib Accellerated Math Module

Table Of Contents

Synopsis

Description

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.

COMMANDS

affine2d::combine transform transform ?transform...?

Accepts N 3x3 affine matrices, and returns a 3x3 matrix which is the combination of them all.

affine2d::rotation_from_angle theta ?units?

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)

affine2d::rotation_from_normal normalx normaly

Computes a 2d affine rotation (a 3x3 matrix) from a directional normal, given my %of travel in X and Y.

REFERENCES

AUTHORS

Sean Woods

Bugs, Ideas, Feedback

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.

Keywords

odielib

Category

Mathematics