Simplified plane texture projection.
Pulled out topLine and leftLine computations to initialization.