Peter0x44

Results 130 comments of Peter0x44

@Falconerd I have similar problems with my own controller I couldn't figure, I just used SDL for the inputs instead. You can use it alongside glfw if you're willing to...

Actually, I got the idea from box2d which does the same thing.

Should the operators call raymath functions or should they just be inlined? There is a policy that the functions don't call each other, not sure if it should be extended...

I would say most of the functions the operators call are not subject to change so inlining them might be better to stay consistent. But that's up to Ray.

@sagehane that's exactly what this issue is about, changing all the #if defined (...) to #if will do that There is no point to do the == 1

This means nothing in config.h ends up defined at all, so you need to put everything in from scratch and it's more inconvenient. And potentially your default config options could...

@znichola surely this requires editing raylib source code anyway, right? That doesn't make it any more convenient than just editing config.h yourself to enable/disable what you want.

@sleeptightAnsiC -U cannot undefine macros in source files, only ones previously defined on the command line.

I found this really insightful and informative. There's a lot contained here that wasn't obvious or expected to me.

AFAIK, -fvisibility=hidden does not function for static libraries. How do you propose raylib should hide them? For the smallest possible executables, you should use LTO, which can remove the "bloat"....