Searched refs:texY (Results 1 – 3 of 3) sorted by relevance
63 const float texY = 1.0f / float(texture.height); in setRegionAsRect() local66 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()67 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
161 const float texY = 1.0f / float(mLayer->getHeight()); in generateMesh() local171 const float v1 = (height - r->top) * texY; in generateMesh()173 const float v2 = (height - r->bottom) * texY; in generateMesh()
995 const float texY = 1.0f / float(layer->getHeight()); in composeLayerRegion() local1027 const float v1 = (height - r->top) * texY; in composeLayerRegion()1029 const float v2 = (height - r->bottom) * texY; in composeLayerRegion()