Closed TokyoSU closed 2 years ago
That seems like a great workaround. Do you think we should have a RAYLIB_CPP_SHORTHAND define or something to ease inclusion? Or a raylib-cpp-shorthand.hpp or something?
A simple define will do the work, a new hpp will increase the file count. Just need to include it after raylib-cpp.hpp after the namespace
I think we could simply skips the define, and include the alias in each file right after the class definition... Maybe? Would you be willing the submit the PR?
ive done this work on the import from my project not directly from the git. but its something simple, it will be done fast, okay no problem :)
Pull request send :)
Nicely done! Happy to have this in :+1:
I think writing
raylib::
for each think is pretty anoying, so ive done a workaround to simplify it:this will maintain the code clean, maybe doing a simple .hpp or .h to include it after
raylib-cpp.hpp
by default could be great, else i will do with this one :x