Cosmetic changes

This commit is contained in:
Jonas Kulla 2013-09-21 14:45:27 +02:00
parent 4aed9ef1a7
commit f4f0748d68
2 changed files with 5 additions and 5 deletions

View File

@ -162,7 +162,7 @@ int build(const IntRect &sourceRect,
}
static void buildFrameInt(const IntRect &rect,
FloatRect *quadRects /* 9 big */)
FloatRect quadRects[9])
{
int w = rect.w; int h = rect.h;
int x1 = rect.x; int x2 = x1 + w;
@ -186,7 +186,7 @@ static void buildFrameInt(const IntRect &rect,
}
int buildFrameSource(const IntRect &rect,
Vertex *vert /* 36 big */)
Vertex vert[36])
{
FloatRect quadRects[9];
@ -199,7 +199,7 @@ int buildFrameSource(const IntRect &rect,
}
int buildFrame(const IntRect &rect,
Vertex *vert /* 36 big */)
Vertex vert[36])
{
FloatRect quadRects[9];

View File

@ -58,10 +58,10 @@ namespace TileQuads
/* Build a quad "frame" (see Window cursor_rect) */
int buildFrame(const IntRect &rect,
Vertex *vert /* 36 big */);
Vertex vert[36]);
int buildFrameSource(const IntRect &rect,
Vertex *vert /* 36 big */);
Vertex vert[36]);
}
#endif // TILEQUAD_H