D | Patch.cpp | 149 TextureVertex* vertex = mVertices; in updateVertices() local 174 generateRow(vertex, y1, y2, v1, v2, stretchX, right - left, in updateVertices() 193 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, right - left, in updateVertices() 212 void Patch::generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, in generateRow() argument 237 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() 255 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); in generateRow() 259 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, in generateQuad() argument 283 TextureVertex::set(vertex++, x1, y1, u1, v1); in generateQuad() 284 TextureVertex::set(vertex++, x2, y1, u2, v1); in generateQuad() 285 TextureVertex::set(vertex++, x1, y2, u1, v2); in generateQuad() [all …]
|