Modified autoComputeTangents.