Added a big assert to validate the computation of the texture
coordinates.