Hi! I've developed this unit that contains Vector and Quaternion algebra.
It's headed more to game developing than to math and geometry, so i found this useful.
Using quaternions and vectors you can build everythig :P Vectors for positions and quats for orientations :P

Feedback appreciated!

PS I've just finished it, maybe i will retouch it a bit (and surely comment it).

(**
This unit contains an implementation for vector and quaternion algebra
designed to be used in 3d video games.
*)

unit msxmath;

(*

This unit was written by Nicola {MSX} Lugato.

http://msx.rules.it
nicola@lugato.net
nicola.lugato@gmail.com

It is released under the term of
The GNU General Public License as published by the Free
Software Foundation.