Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.
/ mathfu Public archive

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

License

Notifications You must be signed in to change notification settings

google/mathfu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 9, 2022
da23a12 · May 9, 2022
May 10, 2019
Nov 21, 2016
May 11, 2019
Aug 10, 2016
Aug 5, 2017
Aug 6, 2020
Dec 20, 2016
May 14, 2019
Sep 22, 2017
May 9, 2022
Sep 11, 2014
Nov 21, 2016
Aug 21, 2020
Nov 3, 2016
Mar 8, 2017
Feb 22, 2017

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.