This guy does incredible work with 3D and math.

Has source codes
- check it

http://dr_ericlin.tripod.com/?M=A

//pod