Home

Awesome

GameMath

GameMath is a small, free open-source math library for games.

We aim to provide to most useful common math routines you need in games, without over-engineering or trying to be overly scientific.

If you're missing anything, we'd love to see it - please refer to the Contributing file!

Features

Getting GameMath

You can either

Usage

Just import the GameMath namespace and you're good to go!

using GameMath;

To get an overview of the library, take a glimpse at the API documentation.

Remarks

We don't want to impose any kind of coordinate system or origin on your implementation. Thus, we are avoiding property namings like "Right" or "Front", and use "MaxX" or "MaxZ" instead.

For each of our non-trivial implementations, we provide unit tests and references to algorithms. If anything's unclear, feel free to contact us. We'd love to improve our documentation.

Development Cycle

We know that using a library like GameMath in production requires you to be completely sure about stability and compatibility. Thus, new releases of GameMath are created using Semantic Versioning. In short:

Bugs & Feature Requests

We are sorry that you've experienced issues or are missing a feature! After verifying that you are using the latest version of GameMath and having checked whether a similar issue has already been reported, feel free to open a new issue. In order to help us resolving your problem as fast as possible, please include the following details in your report:

After being able to reproduce the issue, we'll look into fixing it immediately.

Contributors

(in no particular order)

License

GameMath is released under the MIT license.