Searched refs:texY (Results 1 – 3 of 3) sorted by relevance
71 const float texY = 1.0f / float(texture.height); in setRegionAsRect() local74 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()75 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
139 const float texY = 1.0f / float(mLayer->getHeight()); in generateMesh() local149 const float v1 = (height - r->top) * texY; in generateMesh()151 const float v2 = (height - r->bottom) * texY; in generateMesh()
741 const float texY = 1.0f / float(layer->getHeight()); in composeLayerRegion() local773 const float v1 = (height - r->top) * texY; in composeLayerRegion()775 const float v2 = (height - r->bottom) * texY; in composeLayerRegion()