We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Simon Anciaux
Unfortunately this has been a bit broken for a while. But you can achieve what you want with a sim…
»
da447m
And varying physics timestep is bad - gives nondeterministic results, often exploads in various co…
»
longtran2904
Oh sorry, my bad. Not your example, I mean something like this:
»
Mārtiņš Možeiko
I assume if you're asking if it it makes two unrelated pointers equal, not addresses of pointers. …
»
longtran2904
But doesn't that make &ptr1 == &ptr2 expression equal to true.If the compiler can do that then why …
»
Mārtiņš Možeiko
If compiled functions (or global variables) contains identical bytes, the linker can put only one …
»
longtran2904
Yes, produced code looks identical - but that can be de-duplicated by the linker (it will keep onl…
»
Mārtiņš Možeiko
devirtualization means change virtual function calls (which are indirect) to direct calls - as tha…
»
longtran2904
Thanks for the answers! Compilers try as hard as they can to remove virtual functions. It is calle…
»
Mārtiņš Možeiko
In later code HH enables vsync and measures time between frames to use for delta time. There's lar…
»
Evan Butterfield
I added .inl to the "treat as code" section in my config.4coder file. I am quite new and couldn't …
»
da447m
Why would you call physics several times instead of only once after time accumulates >= threshold?
»
da447m
Thanks for the references, but I don't get what you mean by "software". In my toy I'm using sdl in…
»
Mārtiņš Možeiko
Nobody really is making software rendered games for anything serious. So doing sleeping & timings …
»
Simon Anciaux
I'm not sure I understand your question, but a common way (as far as I know) games works is by ren…
»
da447m
Hi, at this point I'm not sure there is a sort of main loop, but according to the initial vids, th…
»
da447m
Can I hijack this? :) I was thinking in something very similar because I'm really far from where C…
»
Mārtiņš Možeiko
Not always. Inlining large functions increases code size much and that may be bad for code cache. …
»
longtran2904
There is something that I still don't quite understand about inlining functions:Is inlined a funct…
»
x13pixels
A small patch release with a few new features snuck in is now available for download (0.3.6.3). Ne…
»
Mārtiņš Možeiko
imgur album address is not an image. It is html file that cannot be displayed as image. If you wan…
»
Mārtiņš Možeiko
I'd say this is expected behavior. This is what you actually want. Because clicking back button sh…
»
Mārtiņš Možeiko
This is known issue. It's been reported many months ago:
»
bumbread
Looks like spam
»
bumbread
With Google Chrome if I read the post, then click the "back" button on the address bar, the post o…
»
bumbread
If you go to the main page on the website and click "mark all posts on the site as read", then go …
»
bumbread
Latest update: here's the top output for the chrome right before it becomes unbearably slow: https…
»
bumbread
While writing a math-heavy article I noticed that the live-preview started lagging, and after a fe…
»
Mārtiņš Možeiko
Yes. You need to use sampler2DArray for array texture.
»
Oliver Marsh
Thanks Martins, is the texture array Casey used sampler2darray?
»