Translations
Translations are a simple family of two-dimensional transforms.
Translations were at the heart of our Sprite implementations in
Project #1.
Translations have the following form
x' = x + tx
y' = y + ty
For every translation there exists an inverse function which undoes
the translation. In our case the inverse looks like:
x = x' - tx
y = y' - ty
There also exists a special translation, called the identity,
that leaves every point unchanged.
x' = x + 0
y' = y + 0
|