Maths and game development goes hand in hand. In order to program games you need a firm grasp on a few mathematical concepts. Vector maths is one of such concepts and comes in handy during various phases of game development be it programming gameplay or coding a graphics pipeline for that fancy lighting you want. So lets not rant too much but dive right into it.
What is a vector?
Put simply vector is a direction. It also has a magnitude but we are mostly not interested with it in game development.
Vector Addition
Vector Subtraction
Vector Dot Product
Vector Cross Product
Further Readings
If you liked this article, then please subscribe to our YouTube Channel. You can also find us on Instagram, Facebook and Twitter.
READ – CONNECT – BOOST – CREATE