Searched refs:texX (Results 1 – 4 of 4) sorted by relevance
54 const float texX = 1.0f / static_cast<float>(texture.width()); in getTextureCoordinates() local56 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0); in getTextureCoordinates()76 const float texX = 1.0f / float(texture.width()); in updateMeshFromRegion() local84 const float u1 = r->left * texX; in updateMeshFromRegion()86 const float u2 = r->right * texX; in updateMeshFromRegion()
98 const float texX = 1.0f / float(texture.mWidth); in setRegionAsRect() local102 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()103 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()
941 const float texX = 1.0f / float(layer->getWidth()); in composeLayerRegion() local950 const float u1 = r->left * texX; in composeLayerRegion()952 const float u2 = r->right * texX; in composeLayerRegion()