3
votes
Accepted
Is there a logical reason for SFML's Vector2 being templated?
Unity, for example, has both Vector2 and Vector2Int types (and so on for other dimensionalities), since C# didn't/doesn't have ...
2
votes
Accepted
Should networking and rendering be separated in multiple threads?
Quick summary:
You should be using non-blocking socket reads
It's a reasonable but probably unnecessary optimization if your sockets are non-blocking
You should probably be using UDP
Processing the ...
2
votes
Is there a logical reason for SFML's Vector2 being templated?
Why would you ever want to use any other type than float for positional math?
The other answer covers this pretty well but some aspects of your post has not been tackled.
Is there a logical reason ...
2
votes
How to train a reinforcement learning algorithm in Unreal?
Starting in UE 5.3 they added Learning Agents, a plugin that allows you to train agents via reinforcement and imitation learning. See here for more.
Side note: using reinforcement learning for path ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
c++ × 4230opengl × 995
directx × 308
sfml × 258
sdl × 227
directx11 × 207
architecture × 200
sdl2 × 181
collision-detection × 179
2d × 164
unreal-4 × 149
physics × 127
textures × 125
shaders × 121
mathematics × 114
3d × 113
rendering × 112
glsl × 101
hlsl × 83
directx9 × 83
c × 81
software-engineering × 80
entity-system × 79
graphics × 75
box2d × 73