jaylib icon indicating copy to clipboard operation
jaylib copied to clipboard

add raylib-cpp

Open electronstudio opened this issue 1 year ago • 2 comments

This adds most of the classes from raylib-cpp.

  • Not sure if there is really any benefit to this.

  • Not sure if this can be added jaylib without breaking anything, or if it should be a separate binding. I can't be bothered to maintain another binding.

  • A couple still not added due to errors.

  • The original structs are named. e.g. Vector3Struct and the wrapper is Vector3. Not sure if this causes problems - some functions return structs, not wrappers, so then you have to manually create a struct.

  • Not sure if anyone uses Jaylib at all - there's no way of tracking downloads, and very few people have contributed code.

electronstudio avatar Nov 26 '24 14:11 electronstudio

I think it should go to a separate package - like com.raylib.raylibcpp.* .

Not sure if anyone uses Jaylib at all - there's no way of tracking downloads, and very few people have contributed code.

I do, and I appreciate it :)

glowiak avatar Nov 26 '24 14:11 glowiak

Thanks. Yes separate package would be ideal but I can’t figure out how to do that without duplicating everything, at which point it’s basically a separate binding.

electronstudio avatar Nov 27 '24 10:11 electronstudio