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…
rizoma —
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…
rizoma —
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,…
rizoma —
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…
rizoma —
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…
Caleb —
ChronalDragon Edit: Also wow we gotta add nested quotes hahaI think the ability to have multi quo…
Caleb —
btaylor2401 It's just pulling out a constant multiplier, which comes out in front of a summation.…
I am working on a little 2D RTS engine and I am working my way up to dynamic world generation and…
Brian —
Thanks for the update Casey.
I had a feeling something was up. I even watched the beginning aga…
Yes, this was a day when sadly we lost the source recording :( It had to be recovered off of Twi…
xel —
Hey all,
Figured out a quick dead simple way to get custom fonts working in 4coder. Just include…
cubercaleb Since subtraction is anticommutative I don't think that you can make that jump. But I …
cubercaleb btaylor2401 = sum((x*x - 2*x*u + u*u)) / n
= (sum(x*x) - sum(2*x*u) + sum(u*u)) / nSin…
Caleb —
btaylor2401 = sum((x*x - 2*x*u + u*u)) / n
= (sum(x*x) - sum(2*x*u) + sum(u*u)) / nSince subtract…
cubercaleb btaylor2401 The two formulas for standard deviation are equivalent. The advantage of …
Caleb —
btaylor2401 The two formulas for standard deviation are equivalent. The advantage of this formul…
Brian —
Greetings,
Downloading the Latest Source Code (from the link Casey gives us), which is labeled a…