Description
RTM, short for Realtime Math, is a C++ library of 3D and 4D math for games and other realtime applications. It is written as 100% C++11 header files, so it can be added to any project without a separate build step. The author designed it to be as fast as possible: it aims to make inlining easy and to pass values in registers where it can, so the generated code stays efficient even when a function is not inlined. The interface follows C-style conventions. The README offers it as an alternative to GLM and DirectX Math, and points to a comparison with similar libraries. Documentation is published as a site with guides and an API reference for each public header, with one version for the develop branch and one per release. The README also lists supported platforms and the design philosophy. C++ developers who write performance-sensitive vector and matrix code for games or simulation are the intended users.…
Highlights
- 3D and 4D math for realtime code
- Header-only C++11 library
- Designed for inlining and register use
- Alternative to GLM and DirectX Math
- Versioned API documentation
Ratings & Reviews
No ratings yet
Be the first to rate RTM.
People also visit
RTM FAQ
What is RTM?
A C++ math library for realtime applications such as games, with 3D and 4D arithmetic.
How do I add it to a project?
The README says it is 100% C++11 header files, so you include them directly in your project.
How does it compare to GLM?
The README offers it as an alternative to GLM and DirectX Math, and links a comparison.
Where is the documentation?
A documentation site has guides and an API reference for each public header, with versions for develop and each release.
What are the best RTM alternatives?
Popular alternatives to RTM include Cglm, Kotlin Math and Mppp. See all RTM alternatives


