Even though it focuses on 3D, most things explained here also work for 2D.Article assumes familiarity with algebra and geometry, some programming language, a basic knowledge of OOP.Vector Math in GamesConceptsIn mathematics, a vector is a construct that represents both a direction as well as a magnitude.