I am starting to get grip of my game. But I need to now how to calculate x units away in the viewing direction. I have solved this by taking the coordinates from a "invisible" sphere around me. I am using this forumla:
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Bookmarks