schveiguy / raylib-d

Resurrected copy of onroundit's raylib-d
zlib License
55 stars 14 forks source link

Added missing functions from rcamera module + core examples #33

Closed D-a-n-i-l-o closed 1 year ago

schveiguy commented 1 year ago

Wow, that's a lot of stuff!

First, I would like to get rcamera.h be its own module, as it should be translated using dstep directly. If you think you can do that, great, otherwise I can do it. I need to be able to automatically generate the data using the generating instructions (which also need updating)

I hadn't realized that rcamera.h needs to be explicitly included and that the function prototypes were not in raylib.h. Some raylib headers are part of raylib.h, some are not. It's somewhat inconsistent.

Second, onto the core examples. I'm hesitant to include them if you did it by hand, because the more things that I add that are translations from the core library, the more stuff that needs maintaining when raylib updates. But you have done a lot of work getting them there! Can you share what mechanism you used to generate them? If so, can you include the instructions in the generating document? Hopefully it's not too complex.

D-a-n-i-l-o commented 1 year ago

Yes, everything is translated by hand. I moved it to https://github.com/D-a-n-i-l-o/raylib-d_examples and close this PR now.

Thanks!