public void processType(int param) { vtype = param & vtypeMask; updateVertexInfoReader(texture != 0); vertexInfoReader.processType(this); }
public void readVertex( Memory mem, int addr, VertexState v, boolean readTexture, boolean doubleTexture2DCoords) { if (texture == 0) { readTexture = false; } if (readTexture != this.readTexture) { updateVertexInfoReader(readTexture); } vertexInfoReader.readVertex(mem, addr, v, morph_weight); // HD Remaster can require to double the 2D texture coordinates if (doubleTexture2DCoords && transform2D && readTexture) { v.t[0] *= 2f; v.t[1] *= 2f; } }