ABSTRACT

This chapter will introduce vectors as a subset of matrices used widely in game engines to simulate physics. Vectors provide a means of storing physics-type data such as position, size, movement, and velocity. Furthermore, vector operations provide programmers with a simple way to describe interactions within a physical world. This chapter will provide you with a basic understanding of how vectors are used to apply physics within a virtual world, including the what (is a vector), the how (are vector operations performed), and the why (are specific vector operations useful in game programming).