From 8dd7c1b48cdf7e36d6fae6bd720f7412efeb64c3 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Wed, 7 May 2014 17:52:11 +0200 Subject: [PATCH] Spacing/spelling --- src/scene.h | 2 +- src/tilequad.h | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/scene.h b/src/scene.h index bcc9ca4..79a8fda 100644 --- a/src/scene.h +++ b/src/scene.h @@ -106,7 +106,7 @@ protected: // FIXME: This should be a signal virtual void onGeometryChange(const Scene::Geometry &) {} - /* Compares to elements in terms of their display priority; + /* Compares two elements in terms of their display priority; * elements with lower priority are drawn earlier */ bool operator<(const SceneElement &o) const; diff --git a/src/tilequad.h b/src/tilequad.h index 0e8ceab..3d7a151 100644 --- a/src/tilequad.h +++ b/src/tilequad.h @@ -37,26 +37,26 @@ namespace TileQuads { /* Calculate needed quad counts */ int oneDimCount(int tileDimension, - int destDimension); + int destDimension); int twoDimCount(int tileW, int tileH, - int destW, int destH); + int destW, int destH); /* Build tiling quads */ int buildH(const IntRect &sourceRect, - int width, int x, int y, - Vertex *verts); + int width, int x, int y, + Vertex *verts); int buildV(const IntRect &sourceRect, - int height, int ox, int oy, - Vertex *verts); + int height, int ox, int oy, + Vertex *verts); int build(const IntRect &sourceRect, - const IntRect &destRect, - Vertex *verts); + const IntRect &destRect, + Vertex *verts); /* Build a quad "frame" (see Window cursor_rect) */ int buildFrame(const IntRect &rect, - Vertex vert[36]); + Vertex vert[36]); int buildFrameSource(const IntRect &rect, Vertex vert[36]);