Casey answered in one of Q&A about reason not to use references. Don't remember which one. If I re…
Clem —
Hey everyone, Looking at the overall code, Casey almost never uses references for method arguments…
In addition to normal map creation: I made 2007 a normal map generator which generates normal maps…
Hi Casey, I have found these two apps earlier that are for generating normal maps from 2D sprites.…
I have been making a video series where I document and demonstrate the process of making a game …
It is indeed a huge headache. If you want to see how deep the rabbit hole goes, check out ampasCTL…
Ok, thanks for the answers.
Hi there, in Handmade Hero we use a line intersection test to determine the actual time of impact …
dvkirn —
Clang did freak out on me compiling the bottom one. It seemed to think there was only 3 elements i…
Man, film/video industry compositing must be a huge headache... it's basically the nexus point whe…
I don't there's any reason not to do it that way, but I guess I haven't tried it... it looks reas…
Since every part of a union is always accessible, is there a reason to not write v4 like this : }…
What happens with a star is that (neglecting redshift, effects due to participating media such as…
This is exactly right. As Alvy Ray Smith pointed out, . ARS noted that gamma is a display device …
Yes, there is a limit! Once you get to the point where the size of the projected image on your re…
Yeah, absolutely. I was coming from thinking about stuff like stars where you can't assess the bea…
Yeah. Keep in mind that neither way is "wrong", it's just that I wanted to make sure to point out…
Yeah, it is an unfortunately common mistake for people to think that the apparent brightness of d…
Hi everyone, in the stream yesterday (#96), Casey underlined "illumination is constant along a lin…
You do have a point there. You can reuse code more easily with your method. I guess your teachings…
Mox —
It was cool to see that after my quick question pre-stream, you actually devoted half the episode …
Consider: Versus: It's not a hugely important thing, but it's something I'd like to avoid if po…
Oh, yes, I meant the dll init function does it automatically, I'm not doing anything manually :)
You don't need to do that. Because g_funcPointers array is global in dll, it is reloaded together…
Wow, relax, everyone! No need to fight over this :) The functions are in the DLL, and I take funct…
Reading post #3250 by the OP, I'm not entirely clear what the OP is trying to achieve with the fun…
I read the OP question as one of fixing up function pointers. He also wanted a way of avoiding usi…
I'm not sure we are talking about same things. OP asked how to patch his C++ pointers in inheritan…
Obviously you can do this in both directions, exposing code in the DLL to the engine and vice-vers…
That's 21 line instead of 10. How that is far less code? Wow, that's pretty disingenuous. There …