Chapter 4, “Vector Operations”

Vector Versus Scalar

Scalar = magnitude only.

Vector = magnitude + direction.

Displacement

Displacement = final position – initial position.

Δx = xfxi

Polar Coordinates

Vector

where is the magnitude of A and θ is the direction.

Cartesian Coordinates (Components)

Vector

where is one unit in the x direction and is ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.