handmade.network » Mirolyub Hristov

Recent Forum Threads

Forum Code
Post date July 19, 2017, 10:34 p.m.


One way to get at least some support for embedded GLSL from most editors is to abuse the preproce…
Forum Code
Post date April 29, 2016, 8:01 p.m.


Currently the tBob spring is updated using: 1Entity->tBob += ddtBob*dt*dt + Entity->dtBob*…
Forum Code
Post date Sept. 9, 2015, 5:49 p.m.


Like I said in the Q&A, you can use #pragma optimize so that only one translation unit is nee…

Recent Forum Replies

Forum Code
Post date Sept. 9, 2015, 6:42 p.m.

You're right. The #pragma optimize lines should be wrapped in a #ifdef HANDMADE_CONTROLLED_OPTIMI…
Forum Code
Post date Sept. 9, 2015, 6:37 p.m.

Yes, it does. That's the point. We only want the contents of handmade_optimized.cpp to be optimiz…
Forum Code
Post date Jan. 15, 2015, 8:13 p.m.

You can in fact have a normal square grid which has a spherical topology instead of toroidal. The…