Yeah I'm definitely planning to have "baked" lighting which recomputes (for some subset of blocks)…
Why C++ doesn't define NULL as nullptr is because idiot programmers used NULL as the 0 constant, …
This issue is not Microsoft compilers fault. This is C standards fault. If C compiler doesn't see …
I got no strstr function in mylib.c. What I found is that before, I was compiling in c and strstr…
After watching episode 299 of Handmade Hero, I wanted to share with Casey and the Handmade Hero co…
Ok that is really weird, I forgot to include string.h now the warning is gone. I really don't want…
Since you're not including string.h, I guess you're implementing strstr in mylib.c. Does your fun…
Maybe you could fake some static global illumination? If your world is constructed of cube voxels …
Yep! I'm removing all voxels surrounded by others as well as redundant faces. I'm also optimizing…
C++ isn't the only language with mistakes in its design. C has its fair share, among which null-te…
The reason NULL is used is because of the issue of dangling pointers. You know what pointers are, …
Sorry maybe I don't undestand: You swapped c and c++?, in that case I get it. I'm compiling in c…
C has many mistakes in its history, defining NULL as 0 (an int) instead of a special ident like nu…
I'm a bit confused about the NULL constant, while doing this exercise on the k&r book: -x shows t…
Since I'm going to be getting deep into lighting with , I'm wondering, what are some of the simple…
Are you only rendering voxels which aren't surrounded by other voxels?
The (n-1) is a correction for sample variance instead of population variance. Both versions are …
You could try generating the world in a deterministic way. A random number generator requires a se…
I think the ability to have multi quote and reply as well, plus being able to see the previous pos…
Huhh, that somehow works, Nice find. But... You need to divide by (n-1) in order for this to be th…
I am working on a little 2D RTS engine and I am working my way up to dynamic world generation and …
Thanks for the update Casey. I had a feeling something was up. I even watched the beginning again…
Yes, this was a day when sadly we lost the source recording :( It had to be recovered off of Twit…
Hey all, Figured out a quick dead simple way to get custom fonts working in 4coder. Just include y…
You can view subtraction as being the composition of addition and multiplication by -1, i.e. 1 - …
-2xu = -1*2xu It's just pulling out a constant multiplier, which comes out in front of a summatio…
Since subtraction is anticommutative I don't think that you can make that jump. But I am not entir…
Okay, so I re-derived the formula and you are correct, I got it wrong. Here's the correct deriva…
Those two formulas are very different and produce different results as far as can tell, so no they…
Greetings, Downloading the Latest Source Code (from the link Casey gives us), which is labeled as …