Spacing/spelling

This commit is contained in:
Jonas Kulla 2014-05-07 17:52:11 +02:00
parent 72fc659a4c
commit 8dd7c1b48c
2 changed files with 10 additions and 10 deletions

View File

@ -106,7 +106,7 @@ protected:
// FIXME: This should be a signal // FIXME: This should be a signal
virtual void onGeometryChange(const Scene::Geometry &) {} 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 */ * elements with lower priority are drawn earlier */
bool operator<(const SceneElement &o) const; bool operator<(const SceneElement &o) const;

View File

@ -37,26 +37,26 @@ namespace TileQuads
{ {
/* Calculate needed quad counts */ /* Calculate needed quad counts */
int oneDimCount(int tileDimension, int oneDimCount(int tileDimension,
int destDimension); int destDimension);
int twoDimCount(int tileW, int tileH, int twoDimCount(int tileW, int tileH,
int destW, int destH); int destW, int destH);
/* Build tiling quads */ /* Build tiling quads */
int buildH(const IntRect &sourceRect, int buildH(const IntRect &sourceRect,
int width, int x, int y, int width, int x, int y,
Vertex *verts); Vertex *verts);
int buildV(const IntRect &sourceRect, int buildV(const IntRect &sourceRect,
int height, int ox, int oy, int height, int ox, int oy,
Vertex *verts); Vertex *verts);
int build(const IntRect &sourceRect, int build(const IntRect &sourceRect,
const IntRect &destRect, const IntRect &destRect,
Vertex *verts); Vertex *verts);
/* Build a quad "frame" (see Window cursor_rect) */ /* Build a quad "frame" (see Window cursor_rect) */
int buildFrame(const IntRect &rect, int buildFrame(const IntRect &rect,
Vertex vert[36]); Vertex vert[36]);
int buildFrameSource(const IntRect &rect, int buildFrameSource(const IntRect &rect,
Vertex vert[36]); Vertex vert[36]);