git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf95a93
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 13:27:53 +0000
(21:27 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 13:27:53 +0000
(21:27 +0800)
helper.c
patch
|
blob
|
history
diff --git
a/helper.c
b/helper.c
index
20ce8b5
..
bb57603
100644
(file)
--- a/
helper.c
+++ b/
helper.c
@@
-253,8
+253,8
@@
void drawSquare(int recurseLevel, float x1, float z1, float x2, float z2) {
unsigned int SizeY = 2;
- for (unsigned int x =
0
;x<GridSizeX;++x)
- for (unsigned int y =
0
;y<GridSizeY;++y)
+ for (unsigned int x =
-GridSizeX
;x<GridSizeX;++x)
+ for (unsigned int y =
-GridSizeY
;y<GridSizeY;++y)
{
if ((x+y)%2) //modulo 2
glColor3f(1.0f,1.0f,1.0f); //white
UCC
git Repository :: git.ucc.asn.au