Wednesday 14 December 2011

Math, Can't Outrun It

So my next big push is going to involve, adding a new function clone() to gladius.math to allow for cloning of matrices without incurring a new allocation. New branch created for this:  https://github.com/saecob/gladius.math/tree/alpha

Simple enough with a source and destination parameter, copy one into the other.  The next step is to bring transform.js in line with the api.  The difficulty now is understanding the linear algebra used.
  • Scale()
  • Rotate()
  • Translate()
Coming up with some clever tests and resources for this bit of code will be part of the challenge.

After getting things sorted out with transform, one last pass over the unit tests to add some variety will need to be done.  After this maybe it will be time to take a look at our Algorithm scripts.

No comments:

Post a Comment