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…
Parker —
Here's one possible way of doing it: // You don't necessarily need these: typedef Entity Player; …
Hey Handmade community, Feverishly working on my Kiss engine project, I have everything for a 2D g…
Italo —
Ok, thanks for the help, you guys are awesome. Can I ask one more question? I have 3 structures li…
Effectively, yeah; it , however, still a method of organizing data in a non-OOP way. It differs fr…
Not a huge amount has changed since the last update, the main thing is probably that insobot now h…
@Delix: Your method is more a way to achieve polymorphism without virtual functions. I think what …
The Win32MainWindowCallback function is, as its name imply, a callback function, meaning that it's…
A union says the following: "This block of memory can be interpreted to mean of the following thi…
Italo —
I think I get what you're suggesting, but I have a technical question about your structure. Wouldn…
Following up on what mmozeiko said, I recommend creating a single state struct and using it diffe…
You evil human being! You just pulled a 'to be continued...' on us and it killing me!
I don't have a final answer for the long-term just yet, but in the beginning, I'll be giving acce…