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…
Flyingsand I'm a bit stumped now as to what I can do to make the cache-friendly list even friendl…
Caleb —
btaylor2401 However, your pool allocator aligns to 32 bytes, while malloc does not (iirc, malloc …
Your pdb for executable is fine, because it shows Line 944 for DoNextWorkEntry function. Line num…
Another quick update - I haven't settled on how I'll write the GUI stuff yet, though for now I'…
ernes —
Hello guys,
Hope it's alright to ask this kind of question here.
I've recently moved to another …