Skip to content

8bitslime/MMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to MMath!

MMath is a single-header math library made in C for use with OpenGL and other similar graphics APIs.

Quick refernces:
Additional information:

MMath has been lightly tested with both MSVC and GCC, but problems may still exist. Please report any bugs found in the issues section so they can be dealt with quickly.

Some documentation is provided in the wiki, but more will be added in the future.


Features

  • Vectors
  • Square matrices
  • Quaternions
  • Transformations
  • Easy appending to:
    • vectors
    • matrices

On the to-do list

  • Rectangular matrices
  • SIMD optimizations
  • Various profilings
  • Renaming the library

License

MMath is released, free of charge, under the MIT license. This means that you are allowed to use MMath for both private and commercial projects as well as modify and redistribute it. You are not obligated to credit MMath in your projects, but it would be greatly appreciated.


How to use MMath

To add MMath to your project, simply put the MMath.h header file in your project's include directory and use #include "MMath.h" anywhere math is required.

If you require double precision, add the line #define MMATH_DOUBLE before including MMath.h.

About

A 3D graphics math library in a single C header file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages