Searched refs:texX (Results 1 – 3 of 3) sorted by relevance
75 const float texX = 1.0f / float(texture.width); in setRegionAsRect() local79 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()80 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
162 const float texX = 1.0f / float(mLayer->getWidth()); in generateMesh() local171 const float u1 = r->left * texX; in generateMesh()173 const float u2 = r->right * texX; in generateMesh()
1208 const float texX = 1.0f / float(layer->getWidth()); in composeLayerRegion() local1244 const float u1 = r->left * texX; in composeLayerRegion()1246 const float u2 = r->right * texX; in composeLayerRegion()