Searched refs:texY (Results 1 – 3 of 3) sorted by relevance
96 const float texY = 1.0f / float(texture.height); in setRegionAsRect() local99 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()100 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
163 const float texY = 1.0f / float(mLayer->getHeight()); in generateMesh() local172 const float v1 = (height - r->top) * texY; in generateMesh()174 const float v2 = (height - r->bottom) * texY; in generateMesh()
1160 const float texY = 1.0f / float(layer->getHeight()); in composeLayerRegion() local1198 const float v1 = (height - r->top) * texY; in composeLayerRegion()1200 const float v2 = (height - r->bottom) * texY; in composeLayerRegion()