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:
b3a3d70
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 07:24:05 +0000
(15:24 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 07:24:05 +0000
(15:24 +0800)
helper.c
patch
|
blob
|
history
diff --git
a/helper.c
b/helper.c
index
aed5e9a
..
e72c64e
100644
(file)
--- a/
helper.c
+++ b/
helper.c
@@
-227,6
+227,8
@@
void drawFloor() {
for ( int z = 0; z <= textureTileSize; z += subTileWidth ) {
glColor3f( 1.0, 1.0, 1.0 );
+ printf("Creating a subtile. Width: %d, x: %d, z: %d, tx: %d, tz: %d\n", subTileWidth, x, z, tx, tz);
+
glTexCoord2f( tx+textureTileSize, tz+textureTileSize );
glVertex3f ( (x+1)*subTileWidth, 0.0, (z+1)*subTileWidth );
UCC
git Repository :: git.ucc.asn.au