Skip to content

seanzhengw/mmath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mmath

3D mathematics library for embedded system.

Sample

#include <mmath/mmath.h>

int main()
{
    mmath::Vector3F v3f(1.5, 2.5, 3.5);
    mmath::Vector3L v3l(1, 2, 3);

    v3f *= v3l;
    v3l += v3f;

    printf("v3f(%f, %f, %f)\n", v3f[0], v3f[1], v3f[2]); // v3f(1.500000, 5.000000, 10.500000)
    printf("v3l(%d, %d, %d)\n", v3l[0], v3l[1], v3l[2]); // v3l(2, 7, 13)
}

About

3D mathematics library for embedded system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published