Original Post
What are you favorite code statements in your current project. Favorite being completely reletive, please explain why you chose it and what it does. Language doesn't matter. Here's mine! I like this piece of code because 1) It shows the the encapsulation levels of my game and how it's logically nested and organized. The Game World knows all the entities that are in it. Each entity knows what body/model represents it, and finally each body knows where it is. 2) It shows off my ub3r noob3r interpolated rendering which means while I'm waiting for my logic loop to queue up, I can render frames of animation between my previous and final frame, making the game look very pretty!11onetwo 3) I love pointers to pointers to pointers add infinitum.
Vector interpolated_pos
= *((*gameworld->PolygonEntityList_i)->m_Body->prev_vertex_pos)
+ (*((*gameworld->PolygonEntityList_i)->m_Body->vertex_pos) -
(*(*gameworld->PolygonEntityList_i)->m_Body->prev_vertex_pos))*PercentTillNextLogicLoop;