MathFu

Additional

Language
C++
Version
v1.1.0 (Feb 24, 2017)
Created
Sep 24, 2014
Updated
Mar 3, 2023
Owner
Google (google)
Contributors
Haut Codeur (jsanmiya)
Stewart Miles (stewartmiles)
Hakuro Matsuda (hak)
Jon Simantov (jonsimantov)
a-maurice
Mark Klara (mrhappyasthma)
Gerry (ggfan)
Spacekitty
Hercules Junior (herculesjr)
Shipeng Xu (billhsu)
Chaoren Lin (chaoren)
Rohan Mehalwal (purplemunster)
Antonio Mindov (rokn)
haroonq
Chris Kennelly (ckennelly)
kiranchhetri1
Joshua Perry (joshperry)
Florin Iucha (0x8000-0000)
Show all (20)20
Activity
Badge
Generate
Download
Source code

MathFu Version 1.1.0 {#mathfu_readme}

MathFu is a C++ math library developed primarily for games focused on simplicity and efficiency.

It provides a suite of vector, matrix and quaternion classes to perform basic geometry suitable for game developers. This functionality can be used to construct geometry for graphics libraries like OpenGL or perform calculations for animation or physics systems.

The library is written in portable C++ with SIMD compiler intrinsics and has been tested on the following platforms:

Go to our landing page to browse our documentation and see some examples.

Important: MathFu uses submodules to reference other components it depends upon so download the source using:

git clone --recursive https://github.com/google/mathfu.git

To contribute to this project see CONTRIBUTING.

For applications on Google Play that integrate this tool, usage is tracked. This tracking is done automatically using the embedded version string (kMathFuVersionString), and helps us continue to optimize it. Aside from consuming a few extra bytes in your application binary, it shouldn't affect your application at all. We use this information to let us know if MathFu is useful and if we should continue to invest in it. Since this is open source, you are free to remove the version string but we would appreciate if you would leave it in.