Debug code shuffle.
Add support for rotations.
Transform normals.