Jump to content
  • Advertisement
Sign in to follow this  

Linear Algebra New 3D math library for C99

This topic is 684 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts



I was wrote a math library for C, and saw a thread about this,

I wanted to share this library, maybe helps who working with C like me

and looking for 3D math library for C89/C99, it is really easy to use and really fast!


Repo: https://github.com/recp/cglm


All funcs are inlined but you can prefer to use pre-compiled version of all funcs

For instance glm_mat4_mul is inilne and glmc_mat4_mul is pre-compiled


if you don't need pre-compiled then you dont need to build it.


Library uses SIMD/AVX if available but in the future neon maybe supported

All functions are optimized and there are lot of convenient funcs. 


Features are listed in repo's README so I think there is no need to put them here


Just wanted to share my stuff to help people who are looking new lib or lib for C

Edited by recp

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!