Hey guys
I really miss an important feature, that honestly it's preventing me to come here often…
drguildo I found the cause (I think) but don't know what was causing it. This code didn't work:
…
mojobojo Today I wanted to have an infinite loop without generating a warning with /W4 and withou…
I found the cause (I think) but don't know what was causing it. This code didn't work:
1
2
3
4
5…
I used to have controller support working. It has stopped working. I have no idea why it has stop…
Whether or not the null pointer is represented by 0 is orthogonal to letting 0 implicitly convert…
Today I wanted to have an infinite loop without generating a warning with /W4 and without suppres…
What I was wondering why Casey is so hung up about the "rug" example spanning multiple tiles. He …
At the risk of stating the obvious, I strongly disagree with the notion that a pointer's zero val…
What Minecraft has looks like faked ambient-occlusion baking, but what I mean is faked global ill…
Randy Gaul For example I have my own opinion: C defining NULL as ((void*)0) was great because any…
That's going to create T-junction problems... not worth it IMO.
Yeah I'm definitely planning to have "baked" lighting which recomputes (for some subset of blocks…
ratchetfreak C has many mistakes in its history, defining NULL as 0 (an int) instead of a special…
This issue is not Microsoft compilers fault. This is C standards fault.
If C compiler doesn't see…
mrmixer Since you're not including string.h, I guess you're implementing strstr in mylib.c.
I got…
After watching episode 299 of Handmade Hero, I wanted to share with Casey and the Handmade Hero c…
Ok that is really weird, I forgot to include string.h now the warning is gone.
I really don't wan…
Since you're not including string.h, I guess you're implementing strstr in mylib.c. Does your str…
Maybe you could fake some static global illumination?
If your world is constructed of cube voxe…
Oswald_Hurlem Are you only rendering voxels which aren't surrounded by other voxels?
Yep! I'm re…
C++ isn't the only language with mistakes in its design. C has its fair share, among which null-t…
The reason NULL is used is because of the issue of dangling pointers. You know what pointers are,…
Sorry maybe I don't undestand:
ratchetfreak C has many mistakes in its history, defining NULL as…
C has many mistakes in its history, defining NULL as 0 (an int) instead of a special ident like n…
I'm a bit confused about the NULL constant, while doing this exercise on the k&r book:
1
2…
Since I'm going to be getting deep into lighting with my gamedev project, I'm wondering, what are…
Are you only rendering voxels which aren't surrounded by other voxels?
cubercaleb You need to divide by (n-1) in order for this to be the variance, as implied by the fi…
You could try generating the world in a deterministic way. A random number generator requires a s…