Mathematics

Many mathematical functions are defined elsewhere, so I have taken care not to reinvent the wheel too much here – however, sometimes the advantage of having your own bare-bones implementation of some basic things (such as a custom vector class…) has its own advantages.