Chapter 4. Vector Operations


This chapter is dedicated to defining and working with vectors. Vectors are a comparatively new invention. They entered mathematical parlance in the 19th century, as mathematicians and physicists wrestled with the need to describe motion rather than static placement. The regular numbers that you're used to dealing with are called scalar values, and they can be used to describe an amount or static placement. Unfortunately, though, these scalar values can't be used to describe an object's motion, because they have no way of indicating direction. ...

Get Beginning Math and Physics for Game Programmers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.