Jun 04, 2006 01:26
I'm reading through quake3's sourcecode, specifically the rendering code and I've found that it has some really descriptive variable names. I mean, you can't get any more descriptive than two variables used in RB_SurfaceMesh() in tr_surface.c. Just look at lines 880 and 881:
Bob = tess.numIndexes;
Doug = tess.numVertexes;
I mean, honestly, it's blatently obvious by the names that Bob is used for the number of triangle indices and Doug is for the number of vertices, isn't it? Good ol' Carmack.