How do you use maths in programming, and more specifically just game programming?

Math is an integral part of programming and you cannot write applicable code without understanding basic maths. More-so in games programming which often requires tens of thousands of states to be stored, modified and acted upon during the real-time execution of the game. A good starting point to understand the game maths is to study algebra, and specifically the idea that you can store values in variables represented as letters, and produce complex equations and produce different outcomes based on the data you input. You will find the very first computer programs you write will almost certainly follow these lines. Also, as we move increasingly to a 3D centric approach to games, an understanding of basic trigonometry and three dimensional functions would be invaluable. Leave school with a good grasp of these, and you are half way towards working on the next generation of games.

from game creators newsletter Nov 09