From 53d28e67f8b7966596818af7cbfd360df241b332 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Dec 2013 00:23:39 +0300 Subject: rename calcTile methods into separate names calcTileVertexes, calTileCollection. --- src/render/graphics.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/render/graphics.cpp') diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 561ce3a90..8508b9eec 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -569,14 +569,14 @@ bool Graphics::calcImageRect(ImageVertexes *const vert, calcImagePattern(vert, right, x + w - rw, y + th, rw, h - th - bh); } - calcTile(vert, topLeft, x, y); + calcTileVertexes(vert, topLeft, x, y); if (topRight) - calcTile(vert, topRight, x + w - topRight->getWidth(), y); + calcTileVertexes(vert, topRight, x + w - topRight->getWidth(), y); if (bottomLeft) - calcTile(vert, bottomLeft, x, y + h - bottomLeft->getHeight()); + calcTileVertexes(vert, bottomLeft, x, y + h - bottomLeft->getHeight()); if (bottomRight) { - calcTile(vert, bottomRight, x + w - bottomRight->getWidth(), + calcTileVertexes(vert, bottomRight, x + w - bottomRight->getWidth(), y + h - bottomRight->getHeight()); } -- cgit v1.2.3-70-g09d2