I've finally removed SDL2 and the CRT (on windows) from my personal codebase! I've been furiously …
Hello gentlemen, I'm working on a 2d game using OpenGL and need to create a memory manager to redu…
[Continued from ] If you've read my , you may remember that TWC heavily relies on code generation …
We have over a dozen offers to beta test the first batch of lessons! Thank you for your support, w…
Chen —
I see. That was pretty helpful, thanks!
You should structure the included "cpp" files (.inl or whatever) in a way that they are independen…
Chen —
Oh yeah, didn't think about that! That's a pretty hacked way but it should work just fine. However…
Shazan —
What software you used to edit those adobe stuff or custom software?
Mikkel —
A couple have been posted on the Handmade Hero YT, the rest are still not ready yet. I was origina…
Shazan —
What happened to the HandmadeCon 2016 videos are they still on the way or is it already out there …
I have the same problem developing stb headers. When you are in the header, the #define IMPLEMEN…
Don't name them with .cpp extension? Maybe "file.impl.h" or just "file.inl" so it will treat them …
Chen —
YCM is a pretty sweet engine, but how am I going to configure it if I'm doing unity build (the way…
This: you have U.x, which x it is? Those both are not errors, but warnings. If you want to targe…
There is a difference. OpenGL exposes a bit more graphics related functionality which OpenCL doesn…
Shazan —
I was thinking is it better to use opengl or opencl. Is there a difference. Or should i use SIMD i…
I know that using something like this can have some issues, esspecially since it only has a few p…
I've used libsoundio. It was really easy to use, had decent examples/documentation. I did experien…
Then I moved it over to the GPU with OpenGL compute shaders and go it down to 9 seconds. This ca…
I am currently processing research data with the GPU. The original algorithm took about 45 minute…
GPGPU is literally using the GPU for General Programming (i.e. non graphics work) :) In terms of a…
Shazan —
Is using GPU for non graphics intense apps worth like database related apps for use in integrated …
Right now the code is only for Mac/Windows/Linux, so I'm not worried about other devices. I have …
Italo —
One more thing, I tried using anonymous structs inside anonymous unions and got an error that "its…
I have 3 structures like this: typedef struct { double x; double y; v2 velocity; texture_t image…
Italo —
What do you mean by name collisions?
Be careful using anonymous structs in the union, however; this can lead to name collisions.
Parker —
Yes, you can access the members inside the unnamed structs by name, which is why I find this metho…
Italo —
That seems to be a nice way to handle something like this. Let me just see if I understood what yo…
Caius —
For this specific case you could do: typedef struct { particle_t particle; } player_h; typedef st…