Need math mod for vector matrix and quaternion

BlitzMax Forums/BlitzMax Module Tweaks/Need math mod for vector matrix and quaternion

patmaba(Posted 2008) [#1]
Hello,
Is It possible to envisage an official vectorial and matrix mathematical lib as a module into pub or axe for bmax.

I think something like this

http://www.blitzmax.com/codearcs/codearcs.php?code=1915

Lot of applicatgion need vector, quaternion or matrix calculation. People create a custom math lib always attached to the main program use matrix calculation.

Bmax does note provide an official vector, matrix and quaternion class.

Is it possible to include for the next release of bmax a pub.math mod ?

Thanks

Cordially


patmaba


JoshK(Posted 2008) [#2]
There's a near-official module here:
http://blitzmax.com/Community/posts.php?topic=71765#820636

It consists of Mark's codes and my tweaks. Please note there is an important fix towards the end for getting a quat from a matrix.