SpoutDev/SpoutAPI — pull request #318 by bergerkiller (2012-08-04 19:38:58+00:00)
Title: Added Sinus helper class

Signed-off-by: Irmo van den Berge

This math ultility uses a float-range lookup table to obtain sinus and cosinus values, and uses optimizations for the 3d and 2d axis angles. It also allows you to create a random 2D or 3D axis.

The random 2D and 3D axis could be made using a normalized cube, but that results in randomness that is not properly divided among the sphere