janet-lang / jaylib

Janet bindings to Raylib
MIT License
137 stars 36 forks source link

Mesh generation functions #38

Open yemi opened 2 years ago

yemi commented 2 years ago

Hi, I noticed mesh generation functions are marked as non-implemented and was curious as to why, is it a technical challenge or just work? I'd be happy to help to contribute if needed, any guidelines are appreciated!

m-r-hunt commented 1 year ago

I also needed mesh generation (and other mesh/material related functions) so I've gone ahead and started implementing them in my fork. https://github.com/m-r-hunt/jaylib

From a technical perspective, everything seems straightforward. It's just a case of wrapping the functions and types in the same style as the existing code. Matrices are represented as 16 element arrays similarly to the existing vectors etc.

My plan is to implement everything remaining listed under "rmodels" in the cheatsheet (https://www.raylib.com/cheatsheet/cheatsheet.html) and submit a pull request soon.

m-r-hunt commented 1 year ago

See pull request: https://github.com/janet-lang/jaylib/pull/45