A very quick and dirty fix would be to move everything away from 0,0 in absolutes position.
That…
Just tried it out, you're right! It looks like it's just for primitive types - I must have just a…
Ray —
Thanks for the ideas! I'll think about it! :)
I'm working in C, not C++ where types are differentiated by structural similarity.
I seem to rec…
A couple of the more time-consuming/confusing bugs to track down have been from mistakenly passin…
There's a trick I read about on the man page of dlopen. There is another way to assign to a funct…
Absolutely. You have to account for that.
I'm writing some code in an old-codebase and now it needs to serialize out a part of the game-sta…
Hey All, I am here with a question for all of you. I am currently following along with Casey, eve…
A little bad news and a update on what's going on. First, the update:
I'm writing a simple gui d…
spx —
This is a quick one, meaning it lacks a bit of testing and I also had to push one missing feature…
r2d2 —
Sorry for multi-posting...
I've compiled the code under -O2 instead of -O0 and everything works…
r2d2 —
Well, this is fun...
During my debugging I've made a completely identical copy of DEBUGInitiali…
r2d2 —
Me again, still trying to figure out some bugs that came up after I have updated my local code ba…
Hmm, i think a separate page on structs might be good.
That or you could maybe have an expandin…
EDIT: Unity has announced that future versions of its engine will feature a non-verbose math libr…
mtwilliams If you do find yourself fiddling with Box2D's internals or wanting to hot-reload other…
If you do find yourself fiddling with Box2D's internals or wanting to hot-reload other code that …
Interesting, I just tried it at work on Linux (which has a newer i7-6850K CPU, but older GCC 4.8.…
Oh damn, thanks everyone. I didn't need to export all symbols since I'm not building on windows r…
No need to modify anything in source code. Just instruct linker to export all symbols.
They are …
It prints out almost the same times for me for ss or ps variant.
Ray —
Hey Murry!
Yeah, I know, actually it took me a while to took the decision of avoiding structs me…
Not sure about object files, but you could simply compile box2d to its own shared library (.dll f…
The ss (single value, single precision) version needs to preserve the upper 3 values of the 4 val…
Wow, thanks for the quick replies! (And yea, I'm not very good at this sort of thing, as is appar…
This is not how you do microbenchmarks. Compiler noticed that you are not using result of sqrt (e…
1
2squareRootSTL, COMDAT PROC
jmp sqrtf
This is literally a jump to the actual im…
(I'm pretty green when it comes to intrinsics and assembly in general)
I was poking around the H…
I say make a program that does whatever is useful, or what makes sense for the problem you're try…