if ((vformat & GeometryArray.TEXTURE_COORDINATE_2) != 0) {
gl.glTexCoord2f(varray[off], varray[off + 1]);
} else if ((vformat & GeometryArray.TEXTURE_COORDINATE_3) != 0) {
gl.glTexCoord3f(varray[off], varray[off + 1], varray[off + 2]);
} else {
gl.glTexCoord4f(varray[off], varray[off + 1], varray[off + 2], varray[off + 3]);
}
}
} // no multitexture
}
// texCoordSetMapLen can't be 0 if texture coordinates is