|
|
"Vector Matrix Conversion - 2D Angle <-> Coords", by thechange
|
Basically 4 functions to convert from X/Y coordinates to Length/Angle and vise versa. A must for 2D space shooters and related mathematics. The major part of the code contains fun games/examples on how to use the functions, including 2D space physics. |
| Code | | | |