Hello everyone!

In my quest to create a #vala #game #framework, I took a detour into creating a VAPI for #cglm which is like #glm for C.

https://codeberg.org/edwood-grant/cglm-vapi

You need to have CGLM installed in your machine and then just use the VAPI. It has tests for you to see how to use it.

I made this to not reinvent the wheel and leverage a good math library with tests and whatnot. Not all structs are done (missing non-square matrices). But the rest is done to try!

#gamedev #indiedev #gameengine

cglm-vapi

Vala bindings for CGLM a C 2D|3D OpenGL style math library

Codeberg.org

So working in my #vala #game #framework. I realized that I should maybe use a good 3d math library instead of trying to make something on my own. I mena I could but maybe use something people already use and is well tested and such.

I eventually decided to implement a #cglm VAPI, which is a C implementation of the #glm API.

It's been pretty straightforward to implement, so as soon as I have finished I'll also publish it for anyone interested to use.

#indiedev #gamedev