Searched refs:texY (Results 1 – 1 of 1) sorted by relevance
56 const float texY = 1.0f / static_cast<float>(texture.height()); in getTextureCoordinates() local57 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0); in getTextureCoordinates()78 const float texY = 1.0f / float(texture.height()); in updateMeshFromRegion() local86 const float v1 = (viewportHeight - r->top) * texY; in updateMeshFromRegion()88 const float v2 = (viewportHeight - r->bottom) * texY; in updateMeshFromRegion()