auto sure is convenient in the context of C++ (template madness, crazy long types with angle brac…
Timo —
d7samurai glaze In many cases you can tell the type by looking at the right-hand side, example:
1…
glaze In many cases you can tell the type by looking at the right-hand side, example:
1auto mesh …
In the IsInRectangle function for rectangle3 you don't test the z coordinate.
1
2
3
4
5
6
…
Hi there,
I enjoy the way you style your notes! It oddly reminds me of CAD drawings (electrical …
Timo —
C0D3 The big problem I have with it is that you can't tell what type of variable it is.
In many …
Hristo —
Great job on that! Thanx!
Do you plan to continue updating the timestamps? It's a really useful …
Hello guys,
I'm trying to validate my article on collision detection by implementing all of the …
Great! I'll give a try to them all.
@sol_hsa: Sadly, I cannot join the IRC at AfterNet, because …
@ikerms: I'm using your summaries a lot to put them together, so good job to you, dear sir! And t…
Neo Ar —
There are some cool graphing calculator programming communities that usually have sub forums for …
@martincohen and @rathersleepy, thanks for the kudos!
@martincohen, those notes are great, they …
Would you consider /r/gamedev a community?
I get that sub-reddits are probably not what you are …
Yes, as Nimbal said, the primary reason that you don't want to do early returns is because it is …
Nah, ain't no thang! Better to be safe than sorry, I think. I'd much rather have someone report…
The trade off with "early out" code is that it becomes harder to figure out how much the current …
If you're into IRC, the ludumdare.com community is pretty active and largely positive..
That sai…
Early returns are problematic if the function acquires resources that it has to release again if …
Hello guys,
I have a strong compulsion to post questions and discuss my own game project here, t…
Stefan —
You can try to run Casey's code from day 24 and see if it it solves the issue.
He made some chang…
Stefan —
Great info, I'm not on that day yet and I also subtracted a millisecond.
So if it happens to me, …
I tend to use the same multi-return minimal nested approach as you are suggesting.
I think it's …
A question of layout. First, a couple of case studies.
Casey's code is usually layed out somethi…
Ah true, the use of EntityCount to indicate the end of the arrays content was lost on me.
I see …
I haven't looked at this myself yet, but I'm not sure I follow you. The code
1
2 Block->Lo…
The logic for pulling an entity out of its old entity block has a bug that I believe was the root…
Neo Ar —
chebertapps
But it seems like you are talking about using them in a class hierarchy. that's not …
> Well, for run time creation of objects they are potentially pretty bad because they have pot…
khahem —
You can find more detailed arguments about using auto here (slides 12 to 21): https://github.com/…
Neo Ar —
Personally, I believe you should use auto whenever it makes sense, if the type information is alr…